Question 852917
you expect to withdraw $40,000 for 20 years = $800,000
we can use the future value calculation for an annuity

FV = C * [ ((1+i)^n - 1) / i) ]

C = cash flow per period, FV is the $800,000, i = interest and n is time

800000 = C * [ ((1+ .04)^15 - 1) / .04 ]
800000 = C * 20.02
C = 800000 / 20.02
C = 39960.03