The yearly compound interest on sum of money in one and two years are RS 1800 and RS 3816 respectively. calculate the rate of compound interest and the principal.​