SIN
Returns the sine of an angle in radians.
The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.
Syntax
=SIN(number)
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
number | number | Required | — |
How it works
Sine is the vertical coordinate on the unit circle at angle x. The angle is in radians and can be any real number.
Remarks
- Input is interpreted as radians, not degrees.
- Supports scalar and array-style elementwise evaluation.
Examples
Read the unit-circle height at half a radian.
Formula =SIN(0.5)
Expected result 0.479425538604203
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Reflect the angle across the horizontal axis to reverse the height.
Formula =SIN(-0.5)
Expected result -0.479425538604203
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
At zero radians, the unit-circle height is zero.
Formula =SIN(0)
Expected result 0
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
The text “invalid” cannot be used as the input to the sine.
Formula =SIN("invalid")
Expected result #VALUE!
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Sine of PI/2
Formula =SIN(PI()/2)
Expected result 1
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Sine from a cell value
Formula =SIN(A1)
| A | |
|---|---|
| 1 | 0 |
Expected result 0
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Related functions
FAQ
Does SIN expect degrees or radians?
SIN expects radians; convert degree inputs first with RADIANS.