HP 3000 Manuals

COS [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Reference Manual

COS 

The COS function returns the cosine of a number.  The result is a real
number.  The argument and result can be expressed in angular units of
degrees, grads, or radians.

Syntax 

COS(n)

Parameters 

n                The number that is to be evaluated.  This is a REAL
                 number.

Examples 

     10  A = COS(45)     !A = .71 (Degrees)
     20  B = COS(45)     !B = .76 (Grads)
     30  C = COS(45)     !C = .53 (Radians)



MPE/iX 5.0 Documentation