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 Solvers57
Suggested Problems
-
given 3 sides, find area of this triangle
807 Solvers
-
Project Euler: Problem 10, Sum of Primes
1898 Solvers
-
514 Solvers
-
Test if two numbers have the same digits
247 Solvers
-
generate number in particular way
108 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!