secant method

double secant()

Calculates and returns the secant of this angle. The secant of an angle is equivalent to 1 over the cosine.

Implementation

double secant() => 1.0 / math.cos(mks.toDouble());