Trigonometrisk

sin-funktion

Returns the sine of the argument.

Syntax

sin(z)

Beskrivning

The sin function calculates the sine of an angle z, which may be in radianer or degrees depending on the current settings. z may be any numeric expression that evaluates to a real number or a complex number. If z is a real number, the result will be in the range -1 to 1.

Anmärkningar

For arguments with a large magnitude, the function will begin to lose precision.

cos-funktion

Returns the cosine of the argument.

Syntax

cos(z)

Beskrivning

The cos function calculates the cosine of an angle z, which may be in radianer or degrees depending on the current settings. z may be any numeric expression that evaluates to a real number or a complex number. If z is a real number, the result will be in the range -1 to 1.

Anmärkningar

For arguments with a large magnitude, the function will begin to lose precision.

tan-funktion

Returns the tangent of the argument.

Syntax

tan(z)

Beskrivning

The tan function calculates the tangent of an angle z, which may be in radianer or degrees depending on the current settings. z may be any numeric expression that evaluates to a real number or a complex number.

Anmärkningar

For arguments with a large magnitude, the function will begin to lose precision. tan is undefined at z = p*π/2, where p is an heltal, but the function returns a very large number if z is near the undefined value.

asin-funktion

Returns the inverse sine of the argument.

Syntax

asin(z)

Beskrivning

The asin function calculates the inverse sine of z. The result may be in radianer or degrees depending on the current settings. z may be any numeric expression that evaluates to a real number. This is the reverse of the sin function.

acos-funktion

Returns the inverse cosine of the argument.

Syntax

acos(z)

Beskrivning

The acos function calculates the inverse cosine of z. The result may be in radianer or degrees depending on the current settings. z may be any numeric expression that evaluates to a real number. This is the reverse of the cos function.

atan-funktion

Returns the inverse tangent of the argument.

Syntax

atan(z)

Beskrivning

The atan function calculates the inverse tangent of z. The result may be in radianer or degrees depending on the current settings. z may be any numeric expression that evaluates to a real number. This is the reverse of the tan function.

sec-funktion

Returns the secant of the argument.

Syntax

sec(z)

Beskrivning

The sec function calculates the secant of an angle z, which may be in radianer or degrees depending on the current settings. sec(z) is the same as 1/cos(z). z may be any numeric expression that evaluates to a real number or a complex number.

Anmärkningar

For arguments with a large magnitude, the function will begin to lose precision.

csc-funktion

Returns the cosecant of the argument.

Syntax

csc(z)

Beskrivning

The csc function calculates the cosecant of an angle z, which may be in radianer or degrees depending on the current settings. csc(z) is the same as 1/sin(z). z may be any numeric expression that evaluates to a real number or a complex number.

Anmärkningar

For arguments with a large magnitude, the function will begin to lose precision.

cot-funktion

Returns the cotangent of the argument.

Syntax

cot(z)

Beskrivning

The cot function calculates the cotangent of an angle z, which may be in radianer or degrees depending on the current settings. cot(z) is the same as 1/tan(z). z may be any numeric expression that evaluates to a real number or a complex number.

Anmärkningar

For arguments with a large magnitude, the function will begin to lose precision.

asec-funktion

Returns the inverse secant of the argument.

Syntax

asec(z)

Beskrivning

The asec function calculates the inverse secant of z. The result may be in radianer or degrees depending on the current settings. asec(z) is the same as acos(1/z). z may be any numeric expression that evaluates to a real number. This is the reverse of the sec function.

acsc-funktion

Returns the inverse cosecant of the argument.

Syntax

acsc(z)

Beskrivning

The acsc function calculates the inverse cosecant of z. The result may be in radianer or degrees depending on the current settings. acsc(z) is the same as asin(1/z). z may be any numeric expression that evaluates to a real number. This is the reverse of the csc function.

acot-funktion

Returns the inverse cotangent of the argument.

Syntax

acot(z)

Beskrivning

The acot function calculates the inverse cotangent of z. The result may be in radianer or degrees depending on the current settings. acot(z) is the same as atan(1/z). z may be any numeric expression that evaluates to a real number. This is the reverse of the cot function.

Anmärkningar

The acot function returns a value in the range ]-π/2;π/2] (]-90;90] when calculating in degrees), which is the most common definition, though some may define it to be in the range ]0;π[.