Pages: [1]   Go Down
Author Topic: Math problem trigonometry  (Read 686 times)
0 Members and 1 Guest are viewing this topic.
Aalborg, Denmark
Offline Offline
Newbie
*
Karma: 0
Posts: 33
Learning by burning
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

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

Norway@Oslo
Offline Offline
Edison Member
*
Karma: 12
Posts: 2033
loveArduino(true);
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

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

 smiley
Logged

Aalborg, Denmark
Offline Offline
Newbie
*
Karma: 0
Posts: 33
Learning by burning
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Great, thanks alot..

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

Logged

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

0
Offline Offline
Edison Member
*
Karma: 0
Posts: 1103
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: