Customer Service Chat
Get quote & make Payment
calculate pi for infinite series, Other Engineering
Write a program to calculate from the infinite series:
Print a table showing the value of approximated by one term, two terms, three terms, four terms, and so on from the series. The table should have three columns showing the number of terms used, the approximated value of , and the difference between the actual value (3.141592654) and the approximate value calculated by the above sum (eight places of decimal). How many terms of this series are needed to get three significant digits of accuracy (3.14)?
Your program should prompt the user to identify the number of terms to be summed up, and then should print the above table with three columns.
Your solution should accomplish the following:
• Ask user to enter the number of terms to use for approximating the value of .
• Perform the necessary calculations to determine the approximate value of .
• Find the difference between approximated value of and the actual value of .
• Display the table (sample given at the end) showing three columns showing the number of terms used, the approximated value of , and the difference between the actual value (3.141592654) and the approximate value calculated by the above sum (eight places of decimal).
• Ask the user whether the program needs to be re-run or terminated.
Posted Date: 10/26/2012 4:19:09 PM | Location : United States
Ask an Expert
calculate pi for infinite series, Assignment Help, Ask Question on calculate pi for infinite series, Get Answer, Expert's Help, calculate pi for infinite series Discussions
Write discussion on calculate pi for infinite series
Your posts are moderated
Write your message here..
True or false, Beta coefficients and standard deviation may be used as indi...
Beta coefficients and standard deviation may be used as indicators of risk
Difference between income & expenditure statement, Difference between incom...
Difference between income & expenditure statement P&L is to be ready by the Company or Dealing Origination which evolved in Dealing of any commodity or manufacturing of completed e
Flash in forging, Q. Explain the following terms. ...
Q. Explain the following terms. (i) Flash in forging. (ii) Fullering and up setting in forging. (iii) Trimming of
Where do you think by djia?, Where do you think by DJIA? Nobody knows th...
Where do you think by DJIA? Nobody knows the respond to this one. However, you should at least have some ideas on the topic and be able to communicate why you think this is the
Diod, i donot under stand about diod and transistor
i donot under stand about diod and transistor
Iosipescu shear test, A second way to determine the shear modulus is to use...
A second way to determine the shear modulus is to use the Isopescu shear test. The sample is placed in a jig and loaded as shown. Under load, a region of pure shear exists
Swell Factors, The effect of swell factors on volumes
The effect of swell factors on volumes
Magnetic detector plug debris analysis of aircraft , Magnetic Detector Plug...
Magnetic Detector Plug Debris Analysis of aircraft : The magnetic chip detectors (MCDs), are small, permanent magnets installed in the scavenge/return lines of the engine oil s
Smoke control system, Smoke control system: Where smoke control is ins...
Smoke control system: Where smoke control is installed in a building it is usual for there to also be sprinkler protection to the building and its contents. This is necessary
Furniture of space, can you ask me what is in space
can you ask me what is in space
Accounting Assignment Help
Economics Assignment Help
Finance Assignment Help
Statistics Assignment Help
Physics Assignment Help
Chemistry Assignment Help
Math Assignment Help
Biology Assignment Help
English Assignment Help
Management Assignment Help
Engineering Assignment Help
Programming Assignment Help
Computer Science Assignment Help
IT Courses and Help
Why Us ?
~24x7 hrs Support
~Quality of Work
~Time on Delivery
~Privacy of Work
Human Resource Management
Literature Review Writing Help
Follow Us |
T & C
Copyright by ExpertsMind IT Educational Pvt. Ltd.