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..
Digital electronic.., design a 32:1 multiplexer using 16:1 multiplexer
design a 32:1 multiplexer using 16:1 multiplexer
Audio and video system, why front porch and back porch interval is providin...
why front porch and back porch interval is providing before and after the horizontal simpluses
Decision table software engineering, Write a decision table that specifies ...
Write a decision table that specifies the rules for the game of checkers.
What is ebidta?, What Is EBIDTA? EBITDA appears for income before atten...
What Is EBIDTA? EBITDA appears for income before attention, taxation, devaluation, and amount. EBITDA came into large use among personal investment companies, seeking to determ
Heat transfer, #questionA piece of Al weighing 6 kg and initially at a temp...
#questionA piece of Al weighing 6 kg and initially at a temperature of 300OC is suddenly immersed in a fluid at a temperature of 20OC. The convectice heat transfer coefficient is 5
Analog digital converter , Analog digital converter Analog digital con...
Analog digital converter Analog digital converter digitises the conditioned signal and presents it in a digital form, which is more convenient for long distance transmission,
3d sketch , I am a chemical engineering foundation year. I need your help ...
I am a chemical engineering foundation year. I need your help with my homework, its 3D sketch by using Google sketchup program?? I have not use it before. Or any other 3D sketch p
Control of chemical plant, designing control systems
designing control systems
Die press assembly , how to make Die Press Assembly Drawing in autocad?
how to make Die Press Assembly Drawing in autocad?
Angle rate systems , Traditionally, seekers have been simple correlation tr...
Traditionally, seekers have been simple correlation trackers and a set of gimbals that are used to measure the angle rates of the target. - Infrared seekers detect a
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
Why Us ?
~24x7 hrs Support
~Quality of Work
~Time on Delivery
~Privacy of Work
Human Resource Management
Literature Review Writing Help
Terms & Conditions
Copyright by ExpertsMind IT Educational Pvt. Ltd.