cos^-1 python code example
Example 1: how to use inverse trigonometric functions in python
>>>from math import *
>>>degrees(atan(1.18))
>>>49.720136931043555
Example 2: cos in python
from math import cos,pi
a = pi
b = cos(a)
c = 180
d = cos(c)
print(b,d) # returns -1,-0.59846
# cos function works with radians