image\Dql_0023.gifcos (cosine)

Type

Trigonometric Function

Purpose

The cos function calculates the cosine of an angle expressed in radians. The value returned ranges between -1 and 1.

Syntax

cos( NUMERIC VALUE)

Returns

A numeric value.

Usage

The numeric value in a Trigonometric function can be a constant value (as shown below), a variable, a field value or an expression.

Examples

cos( 3.1415928)

Returns: -1

 

cos( -22)

Returns: .9271838