Cos Procedure

Returns the cosine of dx.

Syntax

[ dResult = ] Cos ( dx )

The Cos procedure syntax has the following parts:

 

Name

Type

Description

dResult

Double

Result

dx

Val Double

Input value in radians

Comments

dx should be expressed in radians. To convert the result from degrees to radians, multiply it by PI/180.

Example

dx = 3

df = Cos(dx)

! now dx is 3 and df is -0.989992496600445

See Also

ACos, ASin, ATan, CosH, PI, Sin, SinH, Tan, TanH