FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro Support
Knowledge
Community
About us
References
Jobs
General Contact
List Of Retailers
FlexPro Support
EN
DE
FR
Placeholder

FlexPro Documentation 2025

Sin

Calculates the sine of an angle.

Syntax

Sin(Angle)

 

The syntax of the Sin function consists of the following parts:

Part

Description

Angle

The angle in radians.

All data structures are allowed. All numeric data types are permitted.

Remarks

The result has the same structure as the argument Angle. The calculation is done element by element where appropriate.

The result has the unit 1, if Angle has a unit. Otherwise, it has no unit.

The real sine function is calculated for a real argument. The result then has the 64-bit floating point value data type. The following illustration shows the course of the function:

If Angle is complex, then the complex sine function is calculated, which can be defined as follows:

(Exp(i * Angle) - Exp(-i * Angle)) / (2 * i) with the imaginary unit i = (0, 1).

The result then has the complex 64-bit floating point value data type. The following illustration shows the course of the absolute value of the function:

If the argument is a list, then the function is executed for each element of the list and the result is also a list.

Available in

FlexPro Basic, Professional, Developer Suite

Examples

Sin(0)

Results in 0.

Sin(1 Pi / 2)

Results in 1.

Dim x
x = Series(0, 2 * PI, 0.1)
Signal(Sin(x), x)
 

Calculates a signal with the course of the curve in the interval [0, 2π].

See Also

ArcCos Function

ArcSin Function

ArcTan Function

ArcTan2 Function

Cos Function

CosHyp Function

SinHyp Function

Tan Function

TanHyp Function