Previous: shutdown | Keywords | Next: sleep |

`sin` is the trigonometric function sine that assumes that `X` is in radians.

```
sin(X)
```

The code
prints the sine of the angle of 30 degrees:

```
*PI = \3.1415926535;
$a = 30; # in degrees
$sin = sin($a/180*$PI);
print "sin(" . $a . "°) = " . $sin . "\n";
```

Previous: shutdown | Keywords | Next: sleep |