Navigation:  thinBasic Modules > Math > Trigonometric function >

Sec

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns the secant of Angle in radians.

 

Syntax

 

n = Sec(Angle)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

nValue

Number

No

Any numerical expression

 

Remarks

 

Sec(Angle) = 1 / Cos(Angle)

 

Restrictions

 

See also

 

Examples

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com