How to Calculate Spot Rates, Forward Rates, and Discount Factors