title: Cash Flow compounding
body: <p>So I have this cash flow given: time= [0,1,2,3,4,5]cf = [100,25,-30,4,-12,60] and say that the pay period is semiannually and the compounding period is is years.</p>
  
  <p>So I need to have the cash flow add the terms ([100+25,-30+4,-12,60]) in order to calculate the irr and npv from the modified cash flow: [125, -26, 48]</p>
  
  <p>Any thoughts on how to do this?</p>