Cosine of an angle. The angle is specified in radians.

Call:

double dresult = cos(double cornerinrad);