Sec

From SCAR Divi Manual
Revision as of 10:44, 29 June 2011 by Freddy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function Sec(X: Extended): Extended;

Availability

SCAR Divi 3.00 > Current

Aliases

  • Secant (SCAR Divi 3.00 > Current)

Description

This function calculates the secant of a value X. The secant is the ratio of the length of the hypotenuse to the length of the adjacent side. It is a trigonometric function.

Sec(X) = 1 / Cos(X)

Example

begin
  WriteLn(Sec(Pi));
end.

Output:

1

See Also