How to find cosine of an angle using Python?
Answers
HOLA BUDDY....
here is your answer---------->>>
Python comes with an amazing standard math library that provides all trigonometric functions like sin, cos, etc. You can import that library and use these functions. Note that these functions expect angles in radians. For example,
import math
angle1 = math.radians(90)
angle2 = math.radians(60)
print(math.cos(angle1))
print(math.cos(angle2))
This will give the output:
6.123233995736766e-17
0.5
The first value is very close to zero. Such errors come due to computation limits.
#hope it helps you.....
plz mark it as brainliest..... ^·^
Hello Mate,
Python comes with an amazing standard math library that provides all trigonometric functions like sin, cos, etc. You can import that library and use these functions. Note that these functions expect angles in radians. For example,
Python comes with an amazing standard math library that provides all trigonometric functions like sin, cos, etc. You can import that library and use these functions. Note that these functions expect angles in radians. For example,import math
Python comes with an amazing standard math library that provides all trigonometric functions like sin, cos, etc. You can import that library and use these functions. Note that these functions expect angles in radians. For example,import mathangle1 = math.radians(90)
Python comes with an amazing standard math library that provides all trigonometric functions like sin, cos, etc. You can import that library and use these functions. Note that these functions expect angles in radians. For example,import mathangle1 = math.radians(90)angle2 = math.radians(60)
Python comes with an amazing standard math library that provides all trigonometric functions like sin, cos, etc. You can import that library and use these functions. Note that these functions expect angles in radians. For example,import mathangle1 = math.radians(90)angle2 = math.radians(60)print(math.cos(angle1))
Python comes with an amazing standard math library that provides all trigonometric functions like sin, cos, etc. You can import that library and use these functions. Note that these functions expect angles in radians. For example,import mathangle1 = math.radians(90)angle2 = math.radians(60)print(math.cos(angle1))print(math.cos(angle2))
Python comes with an amazing standard math library that provides all trigonometric functions like sin, cos, etc. You can import that library and use these functions. Note that these functions expect angles in radians. For example,import mathangle1 = math.radians(90)angle2 = math.radians(60)print(math.cos(angle1))print(math.cos(angle2))This will give the output:
Python comes with an amazing standard math library that provides all trigonometric functions like sin, cos, etc. You can import that library and use these functions. Note that these functions expect angles in radians. For example,import mathangle1 = math.radians(90)angle2 = math.radians(60)print(math.cos(angle1))print(math.cos(angle2))This will give the output:6.123233995736766e-17
Python comes with an amazing standard math library that provides all trigonometric functions like sin, cos, etc. You can import that library and use these functions. Note that these functions expect angles in radians. For example,import mathangle1 = math.radians(90)angle2 = math.radians(60)print(math.cos(angle1))print(math.cos(angle2))This will give the output:6.123233995736766e-170.5
Python comes with an amazing standard math library that provides all trigonometric functions like sin, cos, etc. You can import that library and use these functions. Note that these functions expect angles in radians. For example,import mathangle1 = math.radians(90)angle2 = math.radians(60)print(math.cos(angle1))print(math.cos(angle2))This will give the output:6.123233995736766e-170.5The first value is very close to zero. Such errors come due to computation limits
Hope this helps you