.ModelicaReference.Operators.'cos()'

Information

Trigonometric cosine function

Syntax

cos(u)

Description

Returns the cosine of u, with -∞ < u < ∞ Argument u needs to be an Integer or Real expression.

The cosine function can also be accessed as Modelica.Math.cos.

cos

Examples

cos(3.14159265358979)
 = -1.0

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