Cos()

Generic trig function.

COS(x) x=Generic Cosine in radians.

example:

	# take cosine of angle in degrees
	y = Cos(90.0 * 180.0/$PI)
	#take the cosine of all elements in an array
	a = Dimensions(10)	# create a 10 element array
	fill a $pi*2.0		# Set all elements to pi*2
	y = Cos(a)

Note: This function can be applied to all numeric types (including arrays & workspaces).

Cos()

These function calculates the cosine of an angle in radians.

Parameters:

X (Generic)

A single number, array or workspace containing the values to which the trig function is to be applied. Angles must be specified in radians. Undefined values passed to this function will be returned as an undefined result.

RESULT = (Generic)

Cosine of the angle(s) given in radians.