Login

Create Account
+14156709189
info@expertsmind.com
Submit Homework/Assignment
Get quote & make Payment
Get Solution
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 rerun or terminated.
on..
Posted Date: 10/26/2012 4:19:09 PM  Location : United States
Ask an Expert
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
Write your message here..
Related Questions
Comparison of fp result with experiment, Comparison of FP result with exper...
Comparison of FP result with experiment At the lowest test lift coefficient the flow is just subcritical (in the sense that the Mach number of the flow component normal to the
engneering mechanics, the speed of an object at the end of 4 succesive sec...
the speed of an object at the end of 4 succesive seconds is 2o,25,3o and 35 m/sec respectvly, what is the acceleration of this object?
Opration research, a note on tracing a closed loop. What are the characteri...
a note on tracing a closed loop. What are the characteristic features of a closed loop?(
Minerals, assignment
assignment
Output characteristics , OUTPUT CHARACTERISTICS: Figure shows a "Common...
OUTPUT CHARACTERISTICS: Figure shows a "Common Emitter" amplifier stage. Common Emitter Amplifier Stage With no base/emitter bias applied, there will be no collector
Acfi385, Seven years ago, after 15 years in public accounting, Stanley Book...
Seven years ago, after 15 years in public accounting, Stanley Booker, CPA, resigned his posiition as Manager of Cost Systems for Davis, Cohen, and O''Brien Public Accountants and s
Capital budgeting process, Capital budgeting process: When investing in a l...
Capital budgeting process: When investing in a long term assets, the project has been evaluated in term of its profitability and expected cash flow in the future. The capital budge
Linear programing, Description of the Diet Problem The goal of the diet pro...
Description of the Diet Problem The goal of the diet problem is to find an ”optimal” combination of foods that will satisfy all the daily nutritional requirements of an individual.
Vodeo transmission via laser, i want to make a project which is based on vi...
i want to make a project which is based on video transmission via laser ..please help me
Finance, et C(K) denote a European vanilla Call option with strike price K....
et C(K) denote a European vanilla Call option with strike price K. Assume that all options are identical except for strike price, and strike prices satisfy (K1) What are the noa
Assignment Help
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
ExpertsMind Services
Online Tutoring
Projects Assistance
Exam Preparation
Coursework Help
Programming Courses
Engineering Courses
Why Us ?
~Experienced Tutors
~24x7 hrs Support
~Plagiarism Free
~Quality of Work
~Time on Delivery
~Privacy of Work