Answers for "cos(pi)"

2

cos in python in degrees

math.cos(math.radians(1))
# math.cos takes radians
# math.radians converts radians to degrees
Posted by: Guest on September-12-2020
1

cos(pi)

cos(0)    = sqrt(4)/2 = 1
cos(pi/6) = sqrt(3)/2
cos(pi/4) = sqrt(2)/2 = 1/sqrt(2)
cos(pi/3) = sqrt(1)/2 = 1/2
cos(pi/2) = sqrt(0)/2 = 0
cos(pi)   = -1
Posted by: Guest on January-19-2022
4

cos(pi/6)

cos(pi/6) = (1/2)*(√3) = (√3)/2
Posted by: Guest on September-21-2021
0

cos(pi/2)

cos(pi/2) = 0
Posted by: Guest on December-02-2021

Browse Popular Code Answers by Language