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.
on..
Posted Date: 10/26/2012 4:19:09 PM | Location : United States







Related Discussions:- 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
Related Questions
Aviation legislation - Certificate of Design: During the construction, the manufacturer has to provide the C.A.A. with a Certificate of Design and also a Type Record for th

Go to https://blackboard.newhaven.edu/ user: user:Aaldo6 Pass:1992May239645 Class: fire 2209 Occup safety$ hilt-fire take the test its one hour test multiple choices its due t

AIRCRAFT RADIO INSTALLATION (STATION) LICENCE AND APPROVAL 1. A radio installation licence is issued by the Department of Trade and Industry Radio Communications Agency , fo

Two readings i.e., 1.64m, and 0.73m, were taken during leveling procedure to define the slope of centerline of a bridge at points A, and B. If distance AB = 50m, find the slope of


hey, i am doing b.e in chemical engineering but by aggregate is 55%. i would like to know what courses and preparation i have to do to get a good job. pls reply as soon as possible

HARRIMAN MANUFACTURING COMPANY Harriman Manufacturing Company is evaluating the purchase of a new piece of equipment. The quoted price is $50,000, and it would cost Harriman anot

''If a non-coplaner force system is acted upon by equal and opposite forces,it must be in equilibrium''.State this statement is true or false.Please,give me a reason.

in this project i want to start my motor by giving a miscall so how can i decode that miscall in micro controller?

What is Treasury Bills? Treasury expenses are one of the finance devices in temporary money market. It is unprotected promissory observe from the govt part of the RBI to satisfy