# how can I find cumulative values for a known function?

Example...compound interest.  If I know the exponential equation to find the sum of values over a given domain?