For finding the compound Interest first we need to get the amount and then subtract the value of principal from amount
Calculation Begins
Principal = 5000, Rate of Interest = 5%, Time = 2 yrs
[tex] \looparrowright \sf{A = P(1 + \frac{r}{100} )^{n} } \\ \\ \looparrowright \frak{ {\sf A} = 5000(1 + \frac{5}{100} )^{2} } \\ \\ \looparrowright \frak{ {\sf A} = 5000(1 + \frac{1}{20} )^{2} } \\ \\ \looparrowright \frak{ {\sf A} = 5000( \frac{21}{20})^{2} } \\ \\ \looparrowright \frak{ {\sf A} =5000 \times \frac{441}{400}} \\ \\ \looparrowright \frak{ {\sf A} = 12.5 \times 441} \\ \\\looparrowright \frak{ {\sf A} = 5152.5} [/tex]
Hence the amount is 5152.5
Compound Interest = Amount - Principal
= 5152.5 - 5000 = 152.5