通胀调整后的净资产
按照每年储蓄 30% 的计划,您的模拟结果显示可以累积 $896,962.66。还没到百万富翁,但已经相当不错了!
为方便起见,假设按照预算您最终存下了 $900,000。
但如果您在 15 年后退休呢?15 年后的 $900,000 实际价值是多少?
本练习是课程的一部分
Python 金融概念入门
练习说明
- 将
future_net_worth设为 $900,000。 - 将年度通胀率设为 2.5%。不要按月复利计算通胀。
- 使用
.pv()计算 15 年后该净资产的现值。
交互式实操练习
通过完成这段示例代码来试试这个练习。
import numpy as np
# Set your future net worth
future_net_worth = ____
# Set the annual inflation rate to 2.5%
annual_inflation = ____
# Calculate the present value of your terminal wealth over 15 years
inflation_adjusted_net_worth = ____(rate=annual_inflation, nper=____, pmt=0, fv=-1*____)
print("Your inflation-adjusted net worth: $" + str(round(inflation_adjusted_net_worth, 2)))