Package java.lang
Class Math

Public Method sin

static float sin(float a)

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns the trigonometric sine of an angle.

Note

Example

   Draw.writeText("sin: " + Math.sin(Math.PI / 2f));

The example above draws a calculated value of 1 to the screen.