5.23. More Advanced TrigonometryEarlier versions of Ruby did not have the functions arcsin and arccos. Hyperbolic functions such as sinh, cosh, and tanh were also not defined. These were defined in the first edition of this book, but they are now a standard part of the Math module. |