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 Solvers55
Suggested Problems
-
332 Solvers
-
599 Solvers
-
Numbers with prime factors 2, 3 and 5.
466 Solvers
-
Make a run-length companion vector
637 Solvers
-
How long do each of the stages of the rocket take to burn?
272 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!