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
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
47540 Solvers
-
470 Solvers
-
Generate N equally spaced intervals between -L and L
847 Solvers
-
4737 Solvers
-
calculate PI without using pi function
88 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!