Calculate the trigonometric sine of an angle.
The sine of 1:
g.sin(1);
The sine of half pi:
g.sin(Math.PI / 2);