How to Calculate the Effective Annual Rate of Interest (EAR)