Difference between revisions of "Sec"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <func>function Sec(X: Extended): Extended; </func> ==Availability== SCAR Divi 3.00 > Current ==Description== This function calculates the [http://mathworld.wolfr...")
 
Line 26: Line 26:
 
*[[ArcSec]]
 
*[[ArcSec]]
 
*[[Cos]]
 
*[[Cos]]
 +
*[[Csc]]
  
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Math Functions]]
 
[[Category:Math Functions]]

Revision as of 16:50, 25 June 2011

Definition

<func>function Sec(X: Extended): Extended; </func>

Availability

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)

Aliases

  • Secant

Example

begin
  WriteLn(Sec(Pi));
end.

Output:

1

See Also