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
what will be the methodology to calculate pitching moment damping coefficient of canrad of aircraft

I want to buy a car. The Msrp is $31,000. I pay $516 per month for five years. The quoted apr is 6.9%. I put down $800. How much did I pay for the car?

HOW WOULD YOU JUDGE THE POTENTIAL PROFIT OF BAJAJ ELECTRONICS

You are interested in proposing a new venture to the management of your company. Pertinent financial information is given below. BALANCE SHEET Cash 2,000,000 Accounts Payable and

write an algorithm to find a number that multiplies your name 10 times

plz give an exact method for the detection and removal of shadow from an image

(a) Discuss the requirements, specifications and special requirements for the  design of arterial road networks and residential area street networks in a developing suburban region

Present Worth equivalence: Since we have developed the relationship to find a future value F given a present value P, we can easily derive the formula to find a (P|F, i, n), w

With the help of circuit diagram and the waveforms,explain the working of a negative clipper with positive biasing voltage.also explain the Same concept in series clipper circuit

Degree of reaction measures the way compression or expansion (for turbines) is shared between rotor and stator shared between rotor and stator of a stage (stage ≡ rotor + stator)