the formula for calculation of amount in compound interest can be used.