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 comments
Loading...
Problem Recent Solvers62
Suggested Problems
-
Find the peak 3n+1 sequence value
2573 Solvers
-
1363 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1331 Solvers
-
Set the array elements whose value is 13 to 0
1460 Solvers
-
Change the sign of even index entries of the reversed vector
663 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!