Cos (Function)
Gets the cosine of the specified expression.
Parameters
<expression>
|
The expression that gets the cosine (integer type or double-precision type real numbers)
|
Return Value
Returns the value of the double-precision type number.
The content of the value is the cosine of the specified expression.This is returned as a numeric value within the range of -1 to 1.
Description
Specify the angle in the <Expression> as a radian. In the case of angle notation (X degrees), it is necessary to convert to a radian by multiplying pi/180.
Specify either an integer type or double-precision type real number in the <Expression>.
Example
Get the cosine of 60 degrees.
DATA#=Cos(60/180*3.141592)
The result is as follows:
DATA#=0.5