
-----------------------------------
petree08
Wed Oct 31, 2007 11:21 am

Need help with turings trigonometry procedures
-----------------------------------
er yeah i know how to use the cosd and sind commands and i was wondering if there was a way do use the inverse sine law cuz icouldn't find a command for it 

im trying to find angles for a game im working on any help would be awesome

-----------------------------------
Mazer
Wed Oct 31, 2007 12:44 pm

RE:Need help with turings trigonometry procedures
-----------------------------------
arcsin = sin inverse

I'll let you work out the rest.

-----------------------------------
CodeMonkey2000
Wed Oct 31, 2007 3:37 pm

RE:Need help with turings trigonometry procedures
-----------------------------------
arcsin (x) = arctan (sqrt ((x *x) / (1 - (x *x)))) 
arccos (x) = arctan (sqrt ((1 - (x *x)) / (x *x))) 

Turing doesn't have this built in, but you can make your own functions.

-----------------------------------
Clayton
Wed Oct 31, 2007 5:24 pm

RE:Need help with turings trigonometry procedures
-----------------------------------
uhhh... Turing most definitely has that built in...

-----------------------------------
Ultrahex
Wed Oct 31, 2007 5:39 pm

Re: Need help with turings trigonometry procedures
-----------------------------------
*cough*
Radians:
arcsin
arccos
arctan
Degrees: 
arcsind 
arccosd
arctand
*cough*

-----------------------------------
petree08
Wed Oct 31, 2007 6:51 pm

RE:Need help with turings trigonometry procedures
-----------------------------------
k thanx a lot guys ive always been finding the slope between two points (without trig) and it doesn't work out as clean as just having an angle.
