Approximate e - MATLAB Cody - MATLAB Central

Problem 42807. Approximate e

Difficulty:Rate

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

34.06% Correct | 65.94% Incorrect
Last Solution submitted on Dec 16, 2024

Problem Comments

Solution Comments

Show comments
R2025a Pre-release highlights
This topic is for discussing highlights to the current R2025a Pre-release.
12
4

Problem Recent Solvers56

Suggested Problems

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!
Go to top of page