python inverse cosine in degrees code example
Example 1: cos in python in degrees
math.cos(math.radians(1))
# math.cos takes radians
# math.radians converts radians to degrees
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))