| | Inversine sine function
|
|
Hello, I would like to calculate an inverse sine (arcsin) function for one of my application. Does anyone know the algorithm of this trigonometric function? Thank you, J.M. Mongeau (25 years ago, 13-Dec-99, to lugnet.robotics.handyboard)
|
|
| | Re: Inversine sine function
|
|
(...) You might give this a try (for -1 < x < 1): ArcSin(x) = x + a(1)*x^3 + a(2)*x^5 + a(3)*x^7 + ... etc. with a(1) = 0.1666666667 a(2) = 0.0750000000 a(3) = 0.0446428571 a(4) = 0.0303819444 a(5) = 0.0223721599 a(6) = 0.0173527644 a(7) = (...) (25 years ago, 13-Dec-99, to lugnet.robotics.handyboard)
|
|
| | Re: Inversine sine function
|
|
This polynomial approximation looks better: ArcSin(x) = Pi/2 - Sqrt(1-x)*(a(0) + a(1)*x + a(2)*x^2 + a(3)*x^3 + a(4)*x^4 + a(5)*x^5 + a(6)*x^6 + a(7)*x^7 ) where a(0) = 1.57079 63050 a(1) = -0.21459 88016 a(2) = 0.08897 89874 a(3) = -0.05017 43046 (...) (25 years ago, 13-Dec-99, to lugnet.robotics.handyboard)
|