Gets the cosine of a value.
Float value, in degrees not radians, to return the cosine of.
The cosine of an angle is defined as the ratio of the adjacent side to the hyptenuse of a right triangle. The cos function takes an angle (in degrees) as an argument and returns the ratio of the adjacent side to the hypotenuse. The return value (the range of cosine) goes from -1.0 to 1.0.
A cosine is the sine of the complement of an arc or angle.
author: Charles Feduke, additional contributor(s): Jeff Copus, Paul Catalano