Calculate the Macaulay duration, modified duration, and price of a fixed-coupon bond.
Category: Finance.