Trigonometric Functions in Arduino

Hello,
I’m writing a program in which I would like to use cos-1 and tan-1.
I looked in the Arduino Reference and saw that there are cos and tan functions but not to opposite (to find the angle based on two distances).
Does the opposite function exist? If not, do you have a suggestion for how to get around it?
Thank you :slight_smile:

Do you mean the functions acos, atan etc?

Does the opposite function exist?

Have you tried?

Yes, they exist.

acos and atan functions

Thank you all for the clarification, I'm unaccustomed to using atan and acos so I didn't think to try it. It works now :)