π can be computed using the following series:
m(i) = 
Write a method that returns m(i) for a given i and write a test program that displays the following table:
i | m(i) |
1 | 4.0000 |
101 | 3.1515 |
201 | 3.1466 |
301 | 3.1449 |
401 | 3.1441 |
501 | 3.1436 |
601 | 3.1433 |
701 | 3.1430 |
801 | 3.1428 |
901 | 3.1427 |
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.