Angle units
A bare number is interpreted as degrees. Attach an angle unit to be explicit:value— degrees (the default)value deg— degreesvalue rad— radians
rad to the call to get radians instead — for example, asin(value rad).
Sine, cosine, and tangent [sin, cos, tan]
rad.
Secant, cosecant, and cotangent [sec, csc, cot]
rad.
Inverse functions [asin, acos, atan]
asin and acos take a dimensionless ratio between -1 and 1; atan takes any dimensionless ratio. All three return an angle in degrees by default.
Angles use the shared angle units — degrees unless you append rad.
Hyperbolic functions [sinh, cosh, tanh, asinh, acosh, atanh]
Because angle units are unambiguous,
sin(45 deg) and sin((pi/4) rad) refer to the same angle. See Units.
