Languages
[Edit]
EN

JavaScript - Math.exp() method example

12 points
Created by:
Dollie-Rutledge
806

Math.exp() is a static method that takes only one parameter and return exponential function value in the range 0 (exclusive) to +Infinity.

1. Documentation

Edit
SyntaxMath.exp(number)
Parametersnumber - integer or float number value (primitive value).
Result

Exponential function value of a number in the range 0 (exclusive) to +Infinity (primitive value).

If the value can not be calculated NaN is returned.

Description

Math.exp() is a static method that takes only one parameter and returns exponential function value.

2. Reversed console plot example

Edit

3. Canvas plot example

Edit

References

Edit
  1. Exponential function - Wikipedia

Alternative titles

  1. JavaScript - Math.exp() documentation with examples
  2. js - Math.exp() method documentation with examples
1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.

JavaScript - Math documentation (EN)

Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join