how much you need to deposit today in a 4% account compounded quarterly to have $5000 at the end of ten years.
period = 3 months periods in 10 years = 40
interest per period .04 / 4
5000 = (deposit) * (1 + .04/4)40 solve for 'deposit'