Posted: Wed Nov 26, 2003 7:49 pm Post subject: Inverse Sine Function
Hey!
I am doing a program for school (something with geometry) and I need to use the Inverse Sine function. I haven't found it in the Turing help files, so I am wondering, does it exist? If so, what is it? Thanks.
Sponsor Sponsor
Mazer
Posted: Wed Nov 26, 2003 8:10 pm Post subject: (No subject)
octopi wrote a sine inverse function a while back, but apparently there was a problem with it. i think tony fixed it up and made this function:
code:
function arcsin ( x : real ) : real
if x*x not= 1 then
result arctand(sqrt(abs((x*x) / (1 - (x *x)))))
else
result 90
end if