A certain sum is to be divided between A and B so that after 5 years the amount received by A is equal to the amount received by B after 7 years. The rate of interest is 10%, interest compounded annually. Find the ratio of amounts invested by them.
The compound interest earned by Sunil on a certain amount at the end of two years at the rate of 8% p.a. was Rs.2828.80. Find the total amount that Sunil got back at the end of two years in the form of principal plus interest earned ?