Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Inverse Sine Function
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
who cares?




PostPosted: 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
Sponsor
sponsor
Mazer




PostPosted: 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

end arcsin


here's the thread:
http://www.compsci.ca/v2/viewtopic.php?t=744&highlight=arcsin
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: