CalculateCompound InterestInvestmentmostReturnandLengthLine。SupportsManyKindCompound InterestandPeriod+,throughcanSimplifyforcompare"Principal"and"Principal+"LengthDifference,dooutInvestment。