## Math::Trig - Various trigonometric functions

The builtin functions related to trigonometric functions are cos function and sin function. There is only one, but there is a trigonometric function related module called Math::Trig in the standard module. I will briefly introduce the contents.

### Reciprocal of trigonometric function

The reciprocal is the number with the denominator and numerator swapped. Note that the inverse function has a different meaning. The reciprocals of sin, cos, and tan are called cosec, sec, and cot, respectively.

You can use the cosec, sec, and cot functions in the Math::Trig module.

Twice | meaning |

cosec | 1/sin |

sec | 1/cos |

cot | 1/tan |

### Inverse function of trigonometric function

The inverse function is g that satisfies x = g (y) when the relation y = f (x) holds. We read that y = f (x) becomes y when we act on x with f. We read that x = g (y) becomes x when we act on y with g.

In other words, g that causes x to act on f and then returns to x when g is applied is called the inverse function of f. If you write with a symbol

x = g (f (x))

When g exists that satisfies, g is called the inverse function of f.

The inverse functions of sin, cos, and tan are called asin(arc sine), acos(arc cosine), and atan (arc tangent), respectively.

You can use the asin function, acos function, and atan function of the Math::Trig module.

Twice | meaning |

asin | Inverse function of sin |

acos | Inverse function of cos |

atan | Inverse function of tan |