Are a and b two points on a line
If they are you can use the distance formula
Interest = 500 x .03 x 4
I = 60
Closing Balance = 500 (p) + 60 (1)
Closing Balance = 560
Jill had a total score of 40 on 13 quizzes, so her average was
40/13 ≈ 3.08
_____
1 quiz @ 1 = total of 1
3 quizzes @ 2 = total of 6
4 quizzes @ 3 = total of 12
4 quizzes @ 4 = total of 16
1 quiz @ 5 = total of 5
total score = 1 + 6 + 12 + 16 + 5 = 40
total quizzes = 1 + 3 + 4 + 4 + 1 = 13