The value of principal amount is P=45000.
The value of rate of interest is R=5%.
The time is n=7 years.
The formula for the amount when interest is compounded annually is,
[tex]A=P(1+\frac{R}{100})^n[/tex]Substitute the values in the formula to obtain the value of amount.
[tex]\begin{gathered} A=(45000)(1+\frac{5}{100})^7 \\ =(45000)(1.05)^7_{} \\ =63319.52 \end{gathered}[/tex]So amount if intrest is compouned annually is $63319.52.
The formula for amount when interest is coumpounded semi annualy is,
[tex]A=P(1+\frac{R}{200})^{2n}[/tex]Substitute the known values in the formula to obtain the value of amount.
[tex]\begin{gathered} A=(45000)(1+\frac{5}{200})^{2\cdot7} \\ =(45000)(1.025)^{14} \\ =63583.822 \end{gathered}[/tex]So amount if intrest is compouned semi-annually is $63583.822.