What is the use of function sin()?Give an example?
anushkakonchada7:
because I am feeling bore
Answers
Answered by
2
Answer:
The sine function is commonly used to model periodic phenomena such as sound and light waves, the position and velocity of harmonic oscillators, sunlight intensity and day length, and average temperature variations throughout the year.
Answered by
2
It returns the sine of value passed as argument.
import math
# Return the sine value of 90 degrees
print(f"sine of 90 deg is {math.sin(math.radians(90))}")
Similar questions