Write a real Fortran function Series(x) which returns an approximate sum of the sequence I 1!...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a real Fortran function Series(x) which returns an approximate sum of the sequence I 1! - 23 + - 2! 3! 4! + i.e., which adds consecutive elements of this sequence until the addition of another term does not change the value of the sum. Write also a Fortran program which reads consecutive values and uses the function Series to find the approximate sum for each of these values. Assume that the value 0 indicates the end of data. Write a real Fortran function Series(x) which returns an approximate sum of the sequence I 1! - 23 + - 2! 3! 4! + i.e., which adds consecutive elements of this sequence until the addition of another term does not change the value of the sum. Write also a Fortran program which reads consecutive values and uses the function Series to find the approximate sum for each of these values. Assume that the value 0 indicates the end of data.
Expert Answer:
Answer rating: 100% (QA)
Here is an example of a Fortran program that includes a function Series to calcul... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
CANMNMM January of this year. (a) Each item will be held in a record. Describe all the data structures that must refer to these records to implement the required functionality. Describe all the...
-
"internet radios" for streaming audio, and personal video recorders and players. Describe design and evaluation processes that could be used by a start-up company to improve the usability of such...
-
Randy, Inc., can issue 3-month commercial paper with a face value of $1,500,000 for $1,450,000. Transaction costs will be $1,500. The effective annualized percentage cost of the financing, based on a...
-
Take two solid cylindrical specimens of equal diameter but different heights. Assume that both specimens are compressed (frictionless) by the same percent reduction, say 50%. Prove that the final...
-
On January 1, 2022, Jennings SA purchased at par 10% bonds having a maturity value of 300,000. They are dated January 1, 2022, and mature January 1, 2027, with interest receivable December 31 of each...
-
Plaintiff purchases a new car that has defects in its paint job. Three times the dealership repaints the care, but to no avail. The plaintiff continues to drive the car as he has no other option in...
-
Illiad Inc. has decided to raise additional capital by issuing $170,000 face value of bonds with a coupon rate of 10%. In discussions with investment bankers, it was determined that to help the sale...
-
es Initial investment Annual net income Expected life Salvage value Merrill's cost of capital $ 2,100,000 $ 200,000 8 years $ 210,000 Assume straight line depreciation method is used. Required: 10 1....
-
H ALL 1 2 3 2. Simple Matrix Summation Given an n x m matrix, a, where each a(i, j) is the value of the cell at the intersection of row i and column j, create another n x m matrix, b, using the...
-
A large population consists of two types of individuals: one always drives on the left (L), and the other always drives on the right (R). For the purposes of this question, assume that no other types...
-
Universal Auto is a large multinational corporation headquartered in the United States. For segment reporting purposes, the company is engaged in two businesses: production of motor vehicles and...
-
Forces with magnitudes of 180 newtons and 275 newtons act on a hook (see figure). The angle between the two forces is degrees.(a) When = 30, find the direction and magnitude of the resultant...
-
In a large group of corporate executives, 20 % have no college education, 10 % have exactly 2 years of college, 20 % have exactly 4 years, and 50 % have 6 years. A sample size of 2 (with replacement)...
-
A medical insurance survey found that more than 90 percent of the plans members are satisfied. Identify two kinds of survivor bias that may affect these results. Is the reported satisfaction rate...
-
Assume that Beck Consulting chooses to take advantage of current business opportunities and will need to grow to 100 members in the next 9 months in order to respond to the challenges. What changes...
-
Houston Company is considering a project that has the following cash flow data. What is the project's IRR? Note that a project's IRR can be less than the cost of capital or negative, in both cases it...
-
On August 31, 2012, the balances of the accounts appearing in the ledger of Wood Interiors Company, a furniture wholesaler, are as follows:Prepare the August 31, 2012, closing entries for Wood...
-
Harold Conners (Social Security number 785-23-9873) lives at 13234 DeMilo Drive, Houston, TX 77052, and is self-employed for 2012. He estimates his required annual estimated tax payment for 2012 to...
-
Bill and Guilda each own 50 percent of the stock of Radiata Corporation, an S corporation. Guilda's basis in her stock is $25,000. On July 31, 2012, Bill sells his stock, with a basis of $40,000, to...
-
Carl Conch and Mary Duval are married and file a joint return. They live at 1234 Mallory Sq. Apt. 64, Key West, FL 33040. Carl works for the Key Lime Pie Company and Mary is a homemaker after losing...
-
A running mountain lion can make a leap 10.0 m long, reaching a maximum height of 3.0 m. a. What is the speed of the mountain lion just as it leaves the ground? b. At what angle does it leave the...
-
The moon completes one (circular) orbit of the earth in 27.3 days. The distance from the earth to the moon is 3.84 10 8 m. What is the moons centripetal acceleration?
-
A soccer player takes a free kick from a spot that is 20 m from the goal. The ball leaves his foot at an angle of 32, and it eventually hits the crossbar of the goal, which is 2.4 m from the ground....
Study smarter with the SolutionInn App