Python Exercises for Corporate Finance and Risk Management

9 / 26

Question: 52

Q: The following cash flows are projected on a new firm-venture are as follows $432, $137, $797, in the years 1, 2 and 3 respectively. The opportunity cost of capital is 15%. The present value of these cash flows lie in the following interval.
INSTRUCTIONS
To calculate the net present value of following cash flows:

- Define a function "npv" which will depend on a list of cash flows and opportunity cost.
- Use while loop to access the value of cash flows


Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...