mathematics

i want to calculate a corner of a triangle with the rules of cosinus, but how do i do cos^-1?

Acos

There is no arduino langage, there is only C and C++.
Use C mathematic library

Don't forget in Mathematics angle unit is radian

acos()