The function calculates the future value of an investment based on fixed payments earning a fixed rate of interest across equal time periods.