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)
python floor
import math
x = 3.86356
math.floor(x)
#Returns: 3
math.ceil(x)
#Returns: 4
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