Or bring in the big guns and do some real-world calculations. . .
With symbolic software like Mathematica, we can solve the real (and messy) equationwhere Pi is the ith investment, invested for time ti, and r is the annual rate of return compounded m times a year.