acoshintermediate// Inverse hyperbolic cosine (input must be β₯ 1)
Math.acosh(1) // β 0
Math.acosh(2) // β 1.3169...Use Math.acosh() to compute the inverse hyperbolic cosine of a number β₯ 1.
Math.acosh(2) returns approximately 1.3170.
Challenge: Compute and verify Math.acosh(2).