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
-
Find relatively common elements in matrix rows
2149 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1985 Solvers
-
Are all the three given point in the same line?
598 Solvers
-
Find out missing number from a vector of 9 elements
319 Solvers
-
Count consecutive 0's in between values of 1
512 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!