Given:
The amount to be withdrawn each year is $30000.
number of years n = 30
interest rate is 7%.
The amount that should ne need in the beginning is calculated by using payout annuity formula.
![\begin{gathered} P_0=(d(1-(1+(r)/(k))^(-nk)))/((r)/(k)) \\ d=30000 \\ r=7\text{ \%} \\ k=1 \\ n=30 \\ P_0=(30000(1-(1+(7)/(100))^(-30)))/((7)/(100)) \\ =(30000(1-(1.07)^(-30)))/(0.07) \\ =(30000*0.8686)/(0.07) \\ =372271.2355 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/high-school/8g0vwnro4wu0oa22mpz5h0y37b02v2ol84.png)
Answer : The amount needed in the account at the beginning is $372271.2