|
In lugnet.robotics.handyboard, Jean-Michel Mongeau writes:
> 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
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) = 0.0139648437
a(8) = 8.0115518009 (?)
a(9) = 0.0097616095
a(10)= 0.0083903358
Caveats: I've never used this series. It's from Jan Tuma, Handbook of
Numerical Calculations in Engineering, McGraw-Hill, 1989, p 184-185.
The value for coeffecient a(8) sure looks like a typo.
Good luck.
John C.
|
|
Message has 1 Reply: | | 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)
|
Message is in Reply To:
| | 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)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|