I have a function F(x) that is an infinite sum that I know converges. I want to evaluate F(x) for a certain value of x and I have a tolerance. To give an example, let's say I have a formula for pi expressed as infinite series as the following:
And let's imagine, I have no idea what pi is! I want to use this infinite series to determine pi , let's say for ten decimal places (or within 0.01% of the exact value), is there any algorithm that will allow me to decide when to stop?
I have posted this question before. People have downvoted it and I deleted it. Hope I have expressed my question properly this time.
