MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Calculate the net present value of a future cash flow vector given;

- future cash flow vector (F) and
- interest rate (i)

assume;

- all flows generated at the end of the period.
- interest rate is same across the period
- periods are consecutive

18 correct solutions
19 incorrect solutions

Last solution submitted on Mar 20, 2015

1 Comment

Tim Hansen
on 20 Mar 2015

Would be helpful if you change the description to say that the result should be saved to y, rounded up to 3 decimal places. Also, that the present value should be calculated with discrete compounding, and not continuously compounded.

1 Comment