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 the sum of all the numbers of the input vector
52846 Solvers
-
5917 Solvers
-
Longest run of consecutive numbers
6269 Solvers
-
Remove the two elements next to NaN value
684 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
390 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!