Returns the sine of input numeric x, measured in radian value.
math.sin() to return the sine of the integer
5 measured in radian value:
import mathprint(math.sin(5))# Output: -0.9589242746631385
math.sin() to return the sine of the float
5.5 measured in radian value:
import mathprint(math.sin(5.5))# Output: -0.7055403255703919
Interested in helping build Docs? Read the Contribution Guide or share your thoughts in this feedback form.
- Anonymous contributors
Learn Python on Codecademy
Computer ScienceLooking for an introduction to the theory behind programming? Master Python while learning data structures, algorithms, and more!
Includes 6 Courses
With Professional Certification
- Anonymous contributorsAnonymous contributors