For a $20,000 loan at an annual interest rate of 5% over 5 years:
r = 5% / 12 = 0.004167
n = 5 × 12 = 60
M ≈ $377