Go Down

Topic: Math problem trigonometry (Read 1 time) previous topic - next topic

DKMVang

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
Lidt arduino haløj på http://dequete.dk

AlphaBeta

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

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

:)

DKMVang

Great, thanks alot..

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

Lidt arduino haløj på http://dequete.dk

deSilva

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

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy