Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

sin and cos in python

import math

angle_in_degrees = 45
angle_in_radians = math.radians(angle_in_degrees)

sin_of_angle = math.sin(angle_in_radians)
cos_of_angle = math.cos(angle_in_radians)
 
PREVIOUS NEXT
Tagged: #sin #python
ADD COMMENT
Topic
Name
8+9 =