calculate Interest earnings