In a right angled triangle cos(val) = Adjacent / Hypotenuse where val is one of the three angles. This function will always return a number between 1 and -1.
dcos(val);
Argument | Description |
---|---|
val | The angle (in degrees) to return the cosine of. |
Real
val = dcos(45);
This will set "val" to 0.71.