 ## Trigonometric routines **     Trigonometric routines.

### Trigonometric functions

#### function Math.Cos(X: Double): Double;

Calculates the cosine of an angle X, where X is an angle in radians.

🛈 This routine has a similar system routine:

function Cos(X): Double;

#### function Math.Cosecant(X: Double): Double;

Calculate the cosecant of X, where X is an angle in radians. The cosecant is calculated as 1/Sin(X).

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function Cosecant(X): Double;

#### function Math.Cot(X: Double): Double;

Calculates the cotangent of an angle X, where X is an angle in radians The cotangent is calculated using the formula 1/Tan(X).

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function Cot(X): Double;

#### function Math.Cotan(X: Double): Double;

Calculates the cotangent of an angle X, where X is an angle in radians The cotangent is calculated using the formula 1/Tan(X).

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function Cotan(X): Double;

#### function Math.Csc(X: Double): Double;

Returns the cosecant of an angle X, where X is an angle in radians

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function Csc(X): Double;

#### function Math.Hypot(X, Y: Double): Double;

Calculates the length of the hypotenuse Sqrt(x2+y2).

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function Hypot(X, Y): Double;

#### function Math.Pi: Double;

Returns Pi constant (3.14159...).

#### function Math.Sec(X: Double): Double;

Calculates the secant of an angle X, where X is an angle in radians.

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function Sec(X): Double;

#### function Math.Secant(X: Double): Double;

Calculates the secant of an angle X, where X is an angle in radians.

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function Secant(X): Double;

#### function Math.Sin(X: Double): Double;

Calculates the sine of an angle X, where X is an angle in radians.

🛈 This routine has a similar system routine:

function Sin(X): Double;

#### function Math.Tan(X: Double): Double;

Returns the tangent of X, where X is an angle in radians.

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function Tan(X): Double;

### Inverse trigonometric functions

#### function Math.ArcCos(X: Double): Double;

Calculates the inverse cosine of a given number X (in radians). The value of X must be between -1 and 1.

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function ArcCos(X): Double;

#### function Math.ArcCot(X: Double): Double;

Calculates the inverse cotangent of a given number X (in radians).

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function ArcCot(X): Double;

#### function Math.ArcCsc(X: Double): Double;

Calculates the inverse cosecant of a given number X (in radians).

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function ArcCsc(X): Double;

#### function Math.ArcSec(X: Double): Double;

Calculates the inverse secant of a given number X (in radians).

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function ArcSec(X): Double;

#### function Math.ArcSin(X: Double): Double;

Calculates the inverse sine of a given number X (in radians). The value of x must be between -1 and 1.

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function ArcSin(X): Double;

#### function Math.ArcTan(X: Double): Double;

Calculates the inverse tangent of a given number X (in radians).

🛈 This routine has a similar system routine:

function ArcTan(X): Double;

#### function Math.ArcTan2(Y, X: Double): Double;

Calculates arctangent(Y/X) and returns an angle in the correct quadrant (in radians).

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function ArcTan2(X): Double;

### Hyperbolic trigonometric functions

#### function Math.CosH(X: Double): Double;

Calculates the hyperbolic cosine of an angle X, where X is an angle in radians.

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function CosH(X): Double;

#### function Math.CotH(X: Double): Double;

Calculates the hyperbolic cotangent of an angle X, where X is an angle in radians.

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function CotH(X): Double;

#### function Math.CscH(X: Double): Double;

Returns the hyperbolic cosecant of an angle X, where X is an angle in radians.

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function CscH(X): Double;

#### function Math.SecH(X: Double): Double;

Calculates the hyperbolic secant of an angle X, where X is an angle in radians.

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function SecH(X): Double;

#### function Math.SinH(X: Double): Double;

Returns the hyperbolic sine of an angle X, where X is an angle in radians.

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function SinH(X): Double;

#### function Math.TanH(X: Double): Double;

Returns the hyperbolic tangent of X, where X is an angle in radians.

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function TanH(X): Double;

### Inverse hyperbolic trigonometric functions

#### function Math.ArcCosH(X: Double): Double;

Calculates the inverse hyperbolic cosine of a given number

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function ArcCosH(X): Double;

#### function Math.ArcCotH(X: Double): Double;

Calculates the inverse hyperbolic cotangent of a given number X (in radians).

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function ArcCotH(X): Double;

#### function Math.ArcCscH(X: Double): Double;

Calculates the inverse hyperbolic cosecant of a given number X (in radians).

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function ArcCscH(X): Double;

#### function Math.ArcSecH(X: Double): Double;

Calculates the inverse hyperbolic secant of a given number X (in radians).

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function ArcSecH(X): Double;

#### function Math.ArcSinH(X: Double): Double;

Calculates the inverse hyperbolic sine of a given number X (in radians).

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function ArcSinH(X): Double;

#### function Math.ArcTanH(X: Double): Double;

Calculates the inverse hyperbolic tangent of a given number X (in radians). The value of x must be between -1 and 1 (inclusive).

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function ArcTanH(X): Double;