Find the annual interest rate on a loan or investment given the principal amount, repayment amount, and term.