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..
Electromagnetic spectrum , Electromagnetic Spectrum: Visible light belo...
Electromagnetic Spectrum: Visible light belongs to a family of waves known as the electromagnetic spectrum. Other members of this family include high frequency short wavelength
#title.plumbing/engineering., #i need help with plumbing/ engineering assig...
#i need help with plumbing/ engineering assignments, from an expert with australian codes, there is any chance,thank you .
Heat and mass transfer, 1. Air at 1 atm, 90F, and 8 ft/s enters a thin-wall...
1. Air at 1 atm, 90F, and 8 ft/s enters a thin-walled tube of 4-in diameter. The tube surface temperature is maintained at 60F. Air exits the tube at 70F. Determine the length of t
Oil tank- aircraft engine, Oil tank: The oil tank is usually mounted on...
Oil tank: The oil tank is usually mounted on the engine; it may be a separate unit or part of an external gearbox called the sump. It has provision to allow the system to be f
Polymorphism, Q. Define the polymorphism. Ans. POLYMORPHISM: It is d...
Q. Define the polymorphism. Ans. POLYMORPHISM: It is defined as the change in atomic structure which occurs at a definite transformation temperature. The cooling diagram of
Calculate depreciation and amortization expense, Income statement: Sosa Cor...
Income statement: Sosa Corporation recently reported an EBITDA of $31.3 million and $9.7 million of net income. The company has $6.8 million interest expense, and the corporate tax
Ideal intake conditions - aircraft engine, Ideal intake conditions: For...
Ideal intake conditions: For air to flow smoothly through a compressor, its velocity should be about 0.5 mach at the compressor inlet; this includes aircraft flying faster than
Construction technology, floor
Noise reduction in aircraft design, Noise reduction The problem of engi...
Noise reduction The problem of engine noise has always been associated with aircraft. Increases in engine power have given rise to increases in noise and the indications are t
Technical drawing, career aspiration as a determinant to senior secondary ...
career aspiration as a determinant to senior secondary school students performance in Technical drawing.
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.