Answer: $2,387.08
Explanation:
The monthly payment is an annuity which will have a present value of $500,000 when discounted for 30 years at 4%.
Let the annuity be denoted as x.
n = 30 years * 12 months = 360
r = 4%/12 months = 4/12 = 1/3%
500,000 = x * ( 1 - ( 1 + r) ^ -n) / r
500,000 = x * ( 1 - ( 1 + 1/3%) ^ -360) / 1/3%
500,000 = x * 209.46124
x = 500,000/209.46124
= $2,387.08