what three variables determine how much interest a person could earn from a savings account?