Print a table that shows the value of p approximated by one


Question: (Calculating the Value of π) Calculate the value of π from the infinite series

Π  =4 - (4/3) + (4/5) - (4/7) + (4/9) - (4/11) + . . .

Print a table that shows the value of π approximated by one term of this series, by two terms, by three terms, and so on. How many terms of this series do you have to use before you first get 3.14? 3.141? 3.1415? 3.14159?

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Print a table that shows the value of p approximated by one
Reference No:- TGS02403817

Now Priced at $15 (50% Discount)

Recommended (95%)

Rated (4.7/5)