`limit(intervals(P, R, n, m), m=infinity);` |

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

`continuous := (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.

Hamlet Project

Department of Computer Science

University of Utah