How to calculating sine, cosine and tangent in Python

1 Answer

0 votes
import math

print(math.sin(math.pi / 3))  

print(math.cos(math.pi / 3))  

print(math.tan(math.pi / 3))  
   



'''
run:

Exponential of 8 is: 2980.9579870417283
Exponential of -2 is: 0.1353352832366127
Exponential of 0.0 is: 1.0

'''

 



answered Nov 30, 2022 by avibootz

Related questions

1 answer 170 views
1 answer 176 views
1 answer 194 views
1 answer 252 views
...