abhijit_sen wrote:

Total Amount at End of First Year = 5000*(1 + 50/100) = 5000*151/100 = 7550

Interest Earned on First Year = 7550 - 5000 = 2550

Income Tax = 2550*20/100 = 510

Total Amount to Be Invested For Second Year = 7550 - 510 = 7040

Now Total Amount at end of Second Year = 7040(1+50/100) = 10630.4

Interest Earner = 10630.4 - 7040 = 3590.4

Income Tax = 3590.4 *20/100 = 718.08

Total Amount to be invested for Third (Final Year) = 10630.4 - 718.8 = 9912.32

Now repeat for 3rd year and you have the answer.

Total Amount at End of First Year = 5000*(1 + 50/100) = 5000*

150/100 = 7500

Interest Earned on First Year = 7500 - 5000 = 2500

Income Tax = 2500*20/100 = 500

Total Amount to Be Invested For Second Year = 7500 - 500 = 7000

Now Total Amount at end of Second Year = 7000(1+50/100) = 10500

Interest Earner = 10500 - 7000 = 3500

Income Tax = 3500 *20/100 = 700

Total Amount to be invested for Third (Final Year) = 10500 - 700 = 9800

It is pretty straight forward as the numbers are all whole numbers

_________________

Stay Hungry, Stay Foolish