Computer Science Canada

Inverse Sine Function

Author:  who cares? [ 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.

Author:  Mazer [ Wed Nov 26, 2003 8:10 pm ]
Post 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

end arcsin


here's the thread:
http://www.compsci.ca/v2/viewtopic.php?t=744&highlight=arcsin


: