.ModelicaReference.Operators.'tan()'

Information

Trigonometric tangent function

Syntax

tan(u)

Description

Returns the tangent of u, with -∞ < u < ∞ (if u is a multiple of (2n-1)*pi/2, y = tan(u) is +/- infinity). Argument u needs to be an Integer or Real expression.

The tangent function can also be accessed as Modelica.Math.tan.

tan

Examples

tan(3.14159265358979)
 = 0.0

Generated at 2019-12-16T02:39:06Z by OpenModelicaOpenModelica 1.16.0~dev-83-g5b8ff4c using GenerateDoc.mos