add function for Equivalent Interest Rates