JS Built-ins
← Math109 / 215
Mathexpintermediate

Math.exp(-1) β‰ˆ 0.368

πŸ“– Usage Example
// e raised to the power of x
Math.exp(0)   // β†’ 1
Math.exp(1)   // β†’ 2.7182... (Math.E)

Use Math.exp(x) to raise e to the power x β€” the inverse of the natural logarithm.

Math.exp(x)

Math.exp(-1) returns approximately 0.3679 (1/e).

Challenge: Compute and verify Math.exp(-1).

πŸ’‘ Hints (2)
  • β€’ e⁻¹ = 1/e β‰ˆ 0.368
  • β€’ Negative exponents produce values between 0 and 1