how to calculate sin in degrees in python 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: sin function in python does it values in radians
math.sin(value) # value must be in radians ,1 degree = 0.0174533 radians