JS Built-ins
← Math54 / 215
Mathacoshintermediate

Math.acosh(Infinity) Equals Infinity

πŸ“– Usage Example
// 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(x)

As x approaches infinity, Math.acosh(x) also approaches infinity.

Challenge: Verify that Math.acosh(Infinity) returns Infinity.

πŸ’‘ Hints (2)
  • β€’ acosh grows without bound as x β†’ ∞
  • β€’ Math.acosh(1e10) β‰ˆ 23.7