TypstDocumentation

sin

Calculate the sine of an angle.

When called with an integer or a float, they will be interpreted as radians.

Example

#assert(calc.sin(90deg) == calc.sin(-270deg))
#calc.sin(1.5) \
#calc.sin(90deg)
Preview

Parameters
Question mark

angle
integerfloatangleRequiredPositional
Question mark

The angle whose sine to calculate.