# Goniometrische en hyperbolische functies

In dit hoofdstuk worden functies beschreven voor trigonometrische en hyperbolische bewerkingen. In alle functies zijn de argumenten uitdrukkingen waarmee hoeken worden herleid die zijn gemeten in radialen, waarbij x moet worden geïnterpreteerd als een reëel getal.

Alle hoeken zijn weergegeven in radialen.

Alle functies kunnen zowel worden gebruikt in het script voor het laden van gegevens als in diagramuitdrukkingen.

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)

#### cos

Cosinus van x. Het resultaat is een getal tussen -1 en 1.

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)cos( x )

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)

#### acos

Inverse cosinus van x. De functie is alleen gedefinieerd als -1≤ x ≤1. Het resultaat is een getal tussen 0 en p.

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)acos( x )

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)

#### sin

Sinus van x. Het resultaat is een getal tussen -1 en 1.

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)sin( x )

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)

#### asin

Inverse sinus van x. De functie is alleen gedefinieerd als -1≤ x ≤1. Het resultaat is een getal tussen -p/2 en p/2.

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)asin( x )

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)

#### tan

Tangens van x. Het resultaat is een reëel getal.

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)tan( x )

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)

#### atan

Inverse tangens van x. Het resultaat is een getal tussen -p/2 en p/2.

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)atan( x )

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)

#### atan2

Tweedimensionale generalisatie van de functie inverse tangens. Het resultaat is de hoek tussen de oorsprong en het punt dat wordt weergegeven door de coördinaten x en y. Het resultaat is een getal tussen - p en + p.

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)atan2( y,x )

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)

#### cosh

Hyperbolische cosinus van x. Het resultaat is een positief reëel getal.

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)cosh( x )

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)

#### sinh

Hyperbolische sinus van x. Het resultaat is een reëel getal.

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)sinh( x )

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)

#### tanh

Hyperbolische tangens van x. Het resultaat is een reëel getal.

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)tanh( x )

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)

#### acosh

Inverse hyperbolische cosinus van x. Het resultaat is een positief reëel getal.

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)acosh( x )

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)

#### asinh

Inverse hyperbolische sinus van x. Het resultaat is een reëel getal.

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)asinh( x )

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)

#### atanh

Inverse hyperbolische tangens van x. Het resultaat is een reëel getal.

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/TrigonometricAndHyperbolicFunctions/trigonometric-hyperbolic-functions.htm)atanh( x )

Voorbeelden:

Met de volgende scriptcode wordt een steekproeftabel geladen en vervolgens wordt een tabel geladen met de berekende trigonometrische en hyperbolische bewerkingen op de waarden.

```
SampleData:
LOAD * Inline
[Value
-1
0
1];

Results:
Load *, 
cos(Value),
acos(Value),
sin(Value),
asin(Value),
tan(Value),
atan(Value),
atan2(Value, Value),
cosh(Value),
sinh(Value),
tanh(Value)
RESIDENT SampleData;

Drop Table SampleData;
```