Post Reply 
Question for Trig Gurus
12-02-2014, 07:34 PM
Post: #16
RE: Question for Trig Gurus
(12-02-2014 04:57 PM)Namir Wrote:  
(12-02-2014 10:14 AM)Didier Lachieze Wrote:  http://lmgtfy.com/?q=casio+fx10+manual Wink

Thanks Didier. As I suspected, the FX-10 has NO inverse trigonometric functions. The manual casually mentions how to calculate inverse hyperbolic sine and cosine, but that's not what I am looking for.

As I said in my last post, it looks like Newton's method is the best way, if I can live with the simple iterations.

:-(

Namir

This should be good enough for practical purposes:

asin(x) ~ (1/2*e^(-x)*(e^(2*x)-1)+e^(-e^(2.700492094-1.821362659*x)))*180/pi

or

asin(x) ~ 90*(2*e^(-14.88705575*e^(-1.821362659*x)) + e^(x) - e^(-x))/pi


http://www.wolframalpha.com/input/?i=plo...x%3D0..0.5

http://www.wolframalpha.com/input/?i=plo...x%3D0..0.5

Examples:

asin(0.5) ~ 30.000 degrees

asin(0.4) ~ 23.578 degrees

asin(0.2) ~ 11,538 degrees


-------------------------------

Idea:

Let's start with the expression for asinh(x):

y = ln(x + sqrt(x^2 + 1))

A plotting shows this function and y = asin(x) match at y = 0, but the curves soon bend themselves to opposite directions. But visually it appear that the inverse function of y = ln(x + sqrt(x^2 +1)), equivalent to y = asinh(x), would follow y = asin(x) a bit further.

Then we invert the function so it gets closer to y = asin(x), at least in the 0..1/2 range:

solve y == ln(x+sqrt(x^2+1)) for x

--> x = 1/2*e^(-y)*(e^(2*y) - 1)

--> y = 1/2*e^(-x)*(e^(2*x) - 1)


By comparing the latter with y = asin(x), we find the greatest difference to be 0.00250347010455165, at x = 0.5. Then some curve fitting to improve the approximation (the second part of the first equation). For the range 1/2..1, we use simmetry. Or you can use the first part as a first guess for the solve, if you want full accuracy.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Question for Trig Gurus - Namir - 12-01-2014, 07:49 PM
RE: Question for Trig Gurus - toml_12953 - 12-01-2014, 08:08 PM
RE: Question for Trig Gurus - PANAMATIK - 12-01-2014, 08:46 PM
RE: Question for Trig Gurus - Namir - 12-01-2014, 10:54 PM
RE: Question for Trig Gurus - toml_12953 - 12-02-2014, 02:30 AM
RE: Question for Trig Gurus - Namir - 12-02-2014, 09:21 AM
RE: Question for Trig Gurus - Namir - 12-02-2014, 04:57 PM
RE: Question for Trig Gurus - Gerson W. Barbosa - 12-02-2014 07:34 PM
RE: Question for Trig Gurus - Albert Chan - 07-29-2022, 03:19 PM
RE: Question for Trig Gurus - Mark Hardman - 12-01-2014, 11:00 PM
RE: Question for Trig Gurus - Thomas Klemm - 12-02-2014, 12:09 AM
RE: Question for Trig Gurus - Namir - 12-02-2014, 12:16 AM
RE: Question for Trig Gurus - Thomas Klemm - 12-02-2014, 01:12 AM
RE: Question for Trig Gurus - Namir - 12-02-2014, 01:50 AM
RE: Question for Trig Gurus - Namir - 12-02-2014, 01:49 AM
RE: Question for Trig Gurus - Namir - 12-05-2014, 02:48 AM
RE: Question for Trig Gurus - Namir - 12-09-2014, 02:19 PM
RE: Question for Trig Gurus - Thomas Klemm - 07-29-2022, 12:59 PM
RE: Question for Trig Gurus - ttw - 07-29-2022, 10:19 PM
RE: Question for Trig Gurus - Thomas Klemm - 07-30-2022, 08:26 AM
RE: Question for Trig Gurus - Albert Chan - 07-30-2022, 06:27 PM
RE: Question for Trig Gurus - Thomas Klemm - 07-30-2022, 09:38 AM
RE: Question for Trig Gurus - Thomas Klemm - 07-31-2022, 11:08 AM
RE: Question for Trig Gurus - Albert Chan - 07-31-2022, 09:54 PM
RE: Question for Trig Gurus - Thomas Klemm - 08-01-2022, 05:19 AM
RE: Question for Trig Gurus - Albert Chan - 08-01-2022, 02:36 PM
RE: Question for Trig Gurus - Thomas Klemm - 08-02-2022, 06:35 AM
RE: Question for Trig Gurus - Albert Chan - 08-02-2022, 05:28 PM
RE: Question for Trig Gurus - Thomas Klemm - 08-03-2022, 04:42 PM



User(s) browsing this thread: 4 Guest(s)