Follow this link to 32 series expansions for π. Below are three selections you will code...
- Create the project, Transcendentals
- To the project, add the static class, NumericalMethods. Add the static constant EPSILON defined as 1E-10.
- Within the NumericalMethods class, implement the series defined above within the static methods, pi1(), pi2(), and pi3(), respectively. Each method returns the most accurate approximation possible, as limited by the value of EPSILON.
- Add statements within the main method of Transcendentals that display the result of calls to each of the NumericalMethods' π methods.