Math problem trigonometry

Hi

Does anyone know how to take the invers function of sin,cos and tan??
I would like to calculate the function sin^-1 and so on..

I am trying to make a "robot arm" with servos, so I need to find angles for the servos.

Thanks in advance
Mads

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1232418167

http://www.nongnu.org/avr-libc/user-manual/group__avr__math.html#gae9c5790d8a29cbee8f54f8eb522decbc

:slight_smile:

Great, thanks alot..

Guess i missed it when i was looking my self :-[

Just a hint:
Do not use ATAN(); use ATAN2() - after you have understood what it does, of course :slight_smile: