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.
As x approaches infinity, Math.acosh(x) also approaches infinity.
Challenge: Verify that Math.acosh(Infinity) returns Infinity.