计算利率

calculating rate