以 NPV 與 IRR 比較專案
公司在計算潛在專案的淨現值(NPV)時,會使用自家的 WACC 作為折現率。
就像你在前一章用通膨率折現,以反映時間成本一樣,公司也會用融資成本(WACC)去調整潛在專案的現金流,以反映在市場條件下,投資人所要求的報酬率。
現在你已經算出了 WACC,就能計算每個專案現金流的淨現值(NPV)。專案 1 與專案 2 的現金流分別以 cf_project1 與 cf_project2 提供。
本練習屬於課程
Python 金融概念入門
動手互動練習
試著完成這個範例程式碼,體驗一下這個練習。
import numpy as np
# Set your weighted average cost of capital equal to 12.9%
wacc = ____
# Calculate the net present value for Project 1
npv_project1 = ____
print("Project 1 NPV: " + str(round(npv_project1, 2)))
# Calculate the net present value for Project 2
npv_project2 = ____
print("Project 2 NPV: " + str(round(npv_project2, 2)))