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 Solvers56
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6231 Solvers
-
Sort a list of complex numbers based on far they are from the origin.
5636 Solvers
-
Replace NaNs with the number that appears to its left in the row.
2975 Solvers
-
Set some matrix elements to zero
536 Solvers
-
Side of an equilateral triangle
6141 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!