The question is: One bond of face value 100 with semiannual coupons and r =0.025 costs 75.74. A similar bond with semiannual coupons and r=0.04 costs 112.13. Both are redeemable at par in n years and have the same yield rate i. (a) find i, (b) find n.
I know that the answers are supposed to be i=0.035 and n=27.5 years.
I got this but I think I am doing it wrong and I am not sure where to go next with it. Thank you.
i= i2 (yield)
j=i/2 rate per half year
Face value= 100
r=0.25
cost of first bond = =75.74
r=0.04
Cost of second bond = 112.13
Semi annual yield to maturity of 1st bond = $\text {(face value-price)}n - C \div \text {(Face value +Bond)}/2$ $= (100-75.74)/2 - 0.025 \div (100+75.74)/2$ $= 12.11/87.87 = 0.14$
Semi annual yield to maturity of 2st bond $= \text{(face value-price)}n - C \div \text{(Face value +Bond)}/2$ $= (100-112.13)/2-0.04) \div (100+112.13)/2$ $= -6.11/106.07 = -0.005$
Yield to maturity = 2* semi annual yield to maturity
1st bond = $2*0.14 = 0.28$
2nd Bond = $2*(-0.005) = -0.01$