cosine function

double cosine(
  1. Angle a
)

Calculates the cosine of an Angle (adjacent divided by hypotenuse).

Implementation

double cosine(Angle a) => a.cosine();