We simply take the limit of the intervals formula as the number of compounding intervals approaches infinity:

EXECUTElimit(intervals(P, R, n, m), m=infinity);

Based on this computation, we can now define a function that computes exponential growth under continuous compounding:

EXECUTEcontinuous := (P, R, n) -> P*exp(n*R);

Note that the Maple exp function returns the result of raising e to the power specified by its parameter.

Return to lesson.

Joseph L. Zachary
Hamlet Project
Department of Computer Science
University of Utah