Answer:
Find attached excel file
Explanation:
The internal rate of return is the discount rate at which the present value of future cash flows is the same as the initial investment outlay, which can be determined using excel the IRR function shown below:
=IRR(values)
values are the cash flows from initial investment outlay up until the cash inflow in year 5.
The net present value is the present value of future cash flows discounted at the firm's cost of capital minus the initial investment outlay