Question You must price a coupon bond with a principle of $100 maturing in 2 years time.
Two coupons of $5 are paid at the end of year one and year two, and the continuous
compound interest rate is a constant 10%. Extend your code to price a coupon bond with any specification.