Number sin() Method in Python 3
The sin() method returns the sine of x, in radians.
Syntax
import
math
sin(x)
|
Note: This function is not accessible directly,
so we need to import the math module and then we need to call this function using
the math static object.
Parameters
x - This must be a numeric value.
Return Value
This method returns a numeric value between
-1 and 1, which represents the sine of the parameter x.
Example
and the output is: