sin() — Maple v0.0.12 Documentation

### Navigation

- next
- previous |
- LeafLabs |
- Index »
- Complete Language Index »

# sin()

Calculates the sine of an angle.

## Library Documentation

double sin(double x)

  Compute the sine of an angle, in radians.

  Parameters: | `x` - The radian measure of the angle.
  Return: | The sine of x. This value will be between -1 and 1.

## Arduino Compatibility

The Maple version of `sin()` is compatible with Arduino.

Note that the Maple implementation comes from newlib, while Arduino’s is that of avr-libc.

## See Also

- cos
- tan
- float
- double

License and Attribution

Portions of this page were adapted from the Arduino Reference Documentation, which is released under a Creative Commons Attribution-ShareAlike 3.0 License.

### Navigation

- next
- previous |
- LeafLabs |
- Index »
- Complete Language Index »