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
Engine drains, ENGINE DRAINS. There are two types of drains: • Con...
ENGINE DRAINS. There are two types of drains: • Controlled drains  the result of normal operation. • Uncontrolled drains  the result of abnormal operation. CONTROLLE
Chromizing, advantages and disadvantages
advantages and disadvantages
#title., problem on dissociation constant
problem on dissociation constant
Chemistry, explain elecrochemical series and give its applications
explain elecrochemical series and give its applications
sweep effects, In the previous discussion, we investigated the static aero...
In the previous discussion, we investigated the static aeroelastic behaviour of straight (unswept) wings. These wings are characterised by an effective decoupling of wing bending a
Inspecting a sprinkler systems, Inspecting a Sprinkler Systems: When i...
Inspecting a Sprinkler Systems: When inspecting a building that has sprinklers fitted it is not easy to check that the correct water pressure and flow rate can be achieved by
Aeroengines  compressible flow, All fluids are to some extent compressible...
All fluids are to some extent compressible but gases show significant changes in density if pressure and/or temperature is changed. Some gas flows can be treated as being incomp
Aerodynamic centre, On a typical aerofoil, a point exists about which the r...
On a typical aerofoil, a point exists about which the resultant aerodynamic pitching moment M is independent of incidence. This special point is called the Aerodynamic Centre (AC).
Water treatment plant , i need to design a water treatment plant with raw w...
i need to design a water treatment plant with raw water entering ph of 10 and needs to have a ph of 7 when leaving the treatment process the rate of flow 260lt/sec
Fire risk assessment  fire protection engineering, What is a fire risk ass...
What is a fire risk assessment? Fire Risk Assessment (FRA) can mean different things to different people. Here we will look at the understanding in the UK and the understandin
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