Calculates the sine of an angle that it is expressed in radians(the radians value are between 0 and 6,28).
It returns values between -1 and 1.
- rad: an angle measured in radians (PI to -PI)
Returnsfloat : a value between -1 and 1
double x=sin(0); // x=0;
double y=sin(1,57); // y=1;