I have some software that runs in MS SQL Server and utilizes the acos() function, which returns the arc cosine, aka inverse cosine. Im trying to get a client up and running in MS Access, which doesnt have the Acos or any other arc cosine function, it only had the regular cos, sin, and tan functions.
The results dont need to be exact, so even a rough estimate is ok. SO far the closest thing i have come up with is the equation
y= -1.5708x +1.5708
Which is of course a straight line, the pic below is a rough drawing of how acos(x) and my little function relate. Its a little too far off in some places, i was wondering if anyone could get closer using simple linear algebra or the 3 main trig functions?
Crude Pic
Thanks for all your help.
The results dont need to be exact, so even a rough estimate is ok. SO far the closest thing i have come up with is the equation
y= -1.5708x +1.5708
Which is of course a straight line, the pic below is a rough drawing of how acos(x) and my little function relate. Its a little too far off in some places, i was wondering if anyone could get closer using simple linear algebra or the 3 main trig functions?
Crude Pic
Thanks for all your help.