find the value of the investment at the end of 5 years for annual, semiannual, monthly and daily.

To answer this problem, we just have to use the compound interest formula, which is:
[tex]A=P(1+\frac{r}{n})^{nt}[/tex]n represents the amount of times the interest is compounded for every unit t. For a monthly compound, n = 12, for a daily compound, n = 365. r represents the rate(written as a decimal), P represents the principal, and t the amount of time.
Using the given values, we have:
[tex]\begin{gathered} monthly:A=34900(1+\frac{0.08}{12})^{12\cdot5}\approx51995.63 \\ daily:A=34900(1+\frac{0.08}{365})^{365\cdot5}\approx52062.58 \end{gathered}[/tex]