powered by
NPV(cf0,cf,times,i,plot=FALSE)
IRR
NPV(cf0=100,cf=50,times=3,i=.05) NPV(cf0=100,cf=c(50,60,10,20),times=c(1,5,9,9),i=.045)
Run the code above in your browser using DataLab