coshbeginner// Hyperbolic cosine
Math.cosh(0) // β 1
Math.cosh(1) // β 1.5430...Use Math.cosh() to compute the hyperbolic cosine, commonly used in physics and engineering formulas.
Math.cosh() always returns a value of type number for any input.
Challenge: Verify the return type of Math.cosh() for various inputs.