- #1
Marie Cury
- 10
- 0
1. I use Euler formula of arctan to calculate arcsine
2. This equation[tex]\arctan x = \frac{x}{1+x^2} \sum_{n=0}^\infty \prod_{k=1}^n \frac{2k x^2}{(2k+1)(1+x^2)}.[/tex]
If I input 0.9999999999, I will not be able to get the expected result. If input = 0.9 then it is pretty correct, but 0.99 is definitely wrong and more wrong when the decimal digits get higher till uncomputable.
Could someone help me ?
2. This equation[tex]\arctan x = \frac{x}{1+x^2} \sum_{n=0}^\infty \prod_{k=1}^n \frac{2k x^2}{(2k+1)(1+x^2)}.[/tex]
If I input 0.9999999999, I will not be able to get the expected result. If input = 0.9 then it is pretty correct, but 0.99 is definitely wrong and more wrong when the decimal digits get higher till uncomputable.
Could someone help me ?