Questions tagged [eulers-number]

Euler's number (usually denoted e in mathematics) is a transcendental constant approximately equal to 2.718281828. It is the base of natural logarithms.

The mathematical constant e (wikipedia) can be defined in various equivalent ways:

  • the unique positive real number such that the derivative of the function f(x) = ex is always equal to ex
  • the unique positive real number such that the derivative of the function loge x = 1 / x
  • the limit as n tends to infinity of (1 + 1/n) ^ n
  • the sum of the infinite series 1 / n! as n goes from zero to infinity

Ths first of these accounts for the frequency with which e crops up in models involving compounded growth.

64 questions
-2
votes
2 answers

Any way to get JavaScript numbers without Euler's number

I try to get Math.pow(2,1000); The result is " 1.2676506002282294e+30 " I need the number without Euler's number "e+30"
Mostafa Nawara
  • 782
  • 9
  • 21
-2
votes
2 answers

C# taking large negative no. as a positive value

To cut to the chase, when performing some calculations within my code i have a result that is something like. 7.6742332E-30, i have this value stored in a double variable for example, double result = 7.6742332E-30; When i later check whether this…
-3
votes
2 answers

How to write an algorithm in order to calculate Euler's number

How does one write an algorithm that calculates the value of e by receiving the natural number N from the user? The following equation needs to be used:
-3
votes
2 answers

How to calculate Euler number in 1000 iteration?

Is it possible to calculate Euler Number in 1000 iteration in one method and do I need to calculate factorial in the first place? Here is my code: import java.math.BigDecimal; public class EulerNumber { public static void main(String[] args)…
TheBackalley
  • 11
  • 1
  • 2
1 2 3 4
5