Problem 42807. Approximate e
Given a and n, compute and approximation to f = a * e ^ n, without the use of exp, string operations, or floating point numbers.
Example:
a = 1
n = 1
f = 2.71828
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers60
Suggested Problems
-
4175 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2797 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1242 Solvers
-
Is this triangle right-angled?
6471 Solvers
-
Find the index of n in magic(n)
268 Solvers
More from this Author45
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!