Customer Service Chat
Get quote & make Payment
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.
Posted Date: 10/26/2012 4:19:09 PM | Location : United States
Ask an Expert
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..
Physics, what is electrical transmission and electromagnetic radiation in t...
what is electrical transmission and electromagnetic radiation in the form of energy transfer?
Is the dividend paid on common stock taxable to shareholders, Is the divide...
Is the dividend paid on common stock taxable to shareholders? The results paid on common inventory are taxed on two stages in the U.S. First at the company stage, as a results c
Various cementing materials, The various cementing materials are classified...
The various cementing materials are classified as follows. a) Argillaceous cementing materials b) Calcareous cementing materials c) Carbonaceous cementing materials Argillaceous Ma
Energy emissions per usage, Q. The Energy related CO 2 emissions per usage...
Q. The Energy related CO 2 emissions per usage are in Florida: What is the CO 2 emission in kg/kWh and in lb/kWh in Florida? Knowing the emissions and the total gene
Heat transfer, #questionA piece of Al weighing 6 kg and initially at a temp...
#questionA piece of Al weighing 6 kg and initially at a temperature of 300OC is suddenly immersed in a fluid at a temperature of 20OC. The convectice heat transfer coefficient is 5
Thermo electric thermometer, how thermoelecteric thermometer is contructed ...
how thermoelecteric thermometer is contructed and how it working
Crystal structure, how can we determine the crystal structure of material b...
how can we determine the crystal structure of material by having interplanar spacing d?
Kan bans in manufacturing enviornment, what are the advantages of dual-card...
what are the advantages of dual-card Kanban system campared to single card in a manufacturing environment
Resolving power and rayleigh criterion of resolution, Q. Explain Rayleigh c...
Q. Explain Rayleigh criterion of resolution. What is meant by resolving power of grating? Ans. Resolving Power (i) Meaning of Resolution : The resolving power of
Fuel properties of aircraft, Fuel properties of Aircraft: EASE OF FLOW...
Fuel properties of Aircraft: EASE OF FLOW The ease of flow of a fuel is mainly a question of viscosity, but impurities such as ice, dust, wax, etc., may cause blockages in
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
Why Us ?
~24x7 hrs Support
~Quality of Work
~Time on Delivery
~Privacy of Work
Human Resource Management
Literature Review Writing Help
Follow Us |
T & C
Copyright by ExpertsMind IT Educational Pvt. Ltd.