Interest::Compound#calc_accumulated_sum works