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
-
Suppose that the distribution of math SAT scores from Utah this year is normally distributed with an average of 483 and a standard deviation of 100 for males. In order to get into a certain...
-
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...
-
Q1. You have identified a market opportunity for home media players that would cater for older members of the population. Many older people have difficulty in understanding the operating principles...
-
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...
-
A material has a strength coefficient K = 100,000 psi Assuming that a tensile-test specimen made from this material begins to neck at a true strain of 0.17, show that the ultimate tensile strength of...
-
When was the most recent recession?
-
Which factor would not be an opportunity for misappropriation of assets? a. Personal financial obligation (e.g., wife is sick). b. Inventory items are small in size and valuable. c. Inadequate...
-
Depletion, Timber, and Extraordinary Loss Conan OBrien Logging and Lumber Company owns 3,000 acres of timberland on the north side of Mount Leno, which was purchased in 1998 at a cost of $550 per...
-
Rocky Ltd has been negotiating with Road Ltd for several months, and agreements have finally been reached for the two companies to combine. In considering the accounting for the combined entities,...
-
Ace Companys income statements for the three years 2012, 2011, and 2010 are given below (all amounts in $ millions): 1. Other income (expense) comprised the following: 2. In 2012, cost of goods sold...
-
answer the following: List and explain at least three differences between documenting juvenile infractions versus that of adult offenders. Do you think that there should be differences in how the...
-
In periods of rising costs, when compared with other cost flow methods, LIFO will result in Cost of Goods Sold (COGS), Inventory and Net Income values that are: COGS Inventory i Higher Higher Net...
-
Month Hours of Maintenance Total Maintenance Cost January 625 7,950 February 500 7,400 March 700 8,275 April 550 7,625 May 775 9,100 June 800 9,800 Required: 1. Calculate Variable Cost per unit 2....
-
The owner of Manic Manufacturing, Joe Crazy, is considering selling his business. The potential buyer wants to see the most recent months' financial statements. However, Joe Crazy has not done an...
-
discuss the role of evolutionary theory in understanding the emergence and spread of infectious diseases, including the evolution of drug resistance, host-pathogen coevolution, and the dynamics of...
-
How do microbial communities shape host physiology and immune function, and what are the implications of dysbiosis in the microbiota for human health, particularly in the context of chronic...
-
Panametric Automotive produces dingle arms for automatic transmissions. It has historically stamped the arms but is now considering a new automated milling machine called the Turbo Encabulator. The...
-
10m solution. If Ka(HA) = 10 then pOH of solution will be [Given : log4=0.6] (A) 6.7 (B) Greater than 6.7 & less than 7.0 (C) Greater 7.0 & less than 7.3 (D) Greater than 7.3
-
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...
-
L Stokes drew up the following trial balance as at 30 September 19X8. You are to draft the trading and profit and loss account for the year to 30 September 19X8 and a balance sheet as at that date....
-
You are to draw up a consolidated balance sheet from the following details as at 31 December 19X9. During the year P had sold goods which had cost \( 150\) to S for \( 240\). None of these goods had...
-
Draw up a consolidated balance sheet from the following details as at 31 December 19 X8. At the balance sheet date S2 owed S1 \( 500\) and P owed S2 \( 900\). During the year P had sold goods costing...
Study smarter with the SolutionInn App