Question: Write a function npv() that calculates the net present value of a NumPy array of cashflows given a discount rate. Assume the following: 1. Argument

 Write a function npv() that calculates the net present value of

Write a function npv() that calculates the net present value of a NumPy array of cashflows given a discount rate. Assume the following: 1. Argument is a NumPy array of annual cash flows, starting at t=0 2. Argument is a float of the annual discount rate as a decimal (i.e., indicates r=10% )

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!