Given a and n, compute and approximation to f = a * e ^ n, without the use of exp, string operations, or floating point numbers.
a = 1
n = 1
f = 2.71828
Best approximation of e, according to the rat function.
Finding Perfect Squares
Check to see if a Sudoku Puzzle is Solved
Is my wife right? Now with even more wrong husband
Return the Fibonacci Sequence
Sum of diagonals elements of a matrix
Number construction II
Regular polygon bounded by and bounding a circle
Return the sequence element II
Factorizing a number into a given number of factors
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office