Question: Using the following series: TT 1 - 3 + 5 - 7 9 11 + Sample Output: 20000, when i 30000, when i ==

Using the following series: TT 1 - 3 + 5 - 7 9 11 + Sample Output: 20000, when i 30000, when i == 10000, PI =

Using the following series: TT 1 - 3 + 5 - 7 9 11 + Sample Output: 20000, when i 30000, when i == 10000, PI = 3.1414926535900345 when i == PI = 3.1415426535898248 PI == 3.141559320256462 PI = 3.1415676535897985 3.1415726535897814 3.141575986923102 3.141578367875482 when i == 40000, when i SE 50000, PI = == PI = when i == 60000, PI when i 70000, when i == 80000, when i == 90000, 3.1415815424786238 when i == 100000, PI = 3.1415826535897198 PI = 3.1415801535897496 PI = (-1)+1 2i 1 - Approximate PI for i = 10000, 20000, 30000,..., 100000 NOTE: The series starts from i = 1 not i = 0; NOTE: Your program must calculate PI using the above formula and loops! If you simply print out the given solution without calculating it, you will get no credit for this problem. Requirement: You can only use 1 loop to solve this problem.

Step by Step Solution

3.28 Rating (151 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Below is a simple C program that ca... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!