Inputs
Outputs
For example,
180 degrees returns approximately -1, as does π radians.
Small floating-point differences are normal.Calculate the cosine of an angle in radians or degrees.
180 degrees returns approximately -1, as does π radians.
Small floating-point differences are normal.