inverse cosine in math python code example
Example 1: how to use inverse trigonometric functions in python
>>>from math import *
>>>degrees(atan(1.18))
>>>49.720136931043555
Example 2: how to use sin inverse and cos inverse in python
# import math library
import math
print(math.acos(-0.2))
print(math.acos(0))
print(math.acos(0.2))