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)
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)
how to import sin and cos in python
#A demo of sin() function
from math import sin
from math import cos
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us