expintermediate// 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(-1) returns approximately 0.3679 (1/e).
Challenge: Compute and verify Math.exp(-1).