calculation of rate of interest