calculate pi for infinite series, Other Engineering

Assignment Help:
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..

Related Discussions:- calculate pi for infinite series

Layout and operation of typical thrust reversing system, Layout and operati...

Layout and operation of typical thrust reversing system: Clamshell door system The clamshell door system is a pneumatically operated system, as shown in detail in fig Norm

Survey, What''s the principles of surveying?

What''s the principles of surveying?

Matlab, how to use mean and standard deviation with matlab?

how to use mean and standard deviation with matlab?

Engineering physics 1, scaning electro microscope,transmission microscope

scaning electro microscope,transmission microscope

Financial management, I have a homework assignment with 12 present value an...

I have a homework assignment with 12 present value and future value related investment problems. Can you guys help with me these types of problems please?

Bay cooling in aircraft, Bay cooling in Aircraft: There are two methods...

Bay cooling in Aircraft: There are two methods of bay cooling, they are: • Ram air cooling • Fan air cooling RAM AIR COOLING For ram air cooling, the aircraft has to

Mass Balances, Engineers sometimes add chlorine to pipes to disinfect water...

Engineers sometimes add chlorine to pipes to disinfect water. It is desired to achieve four logs of kill. This means that the effluent concentration of microoganisms is 10^-4 times

Techniques of capital budgeting, Techniques of capital budgeting There are ...

Techniques of capital budgeting There are a number of capital budgeting techniques used in the evaluation of a project. They are broadly classified under two categories: 1] Discoun

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd