Question: Find the YTM of this coupon bond.

coupon = 5%

maturity = 3 years

interest rates: r1 = 3%; r2 = 4%; r3 = 4.5%

face value: 100%

Price of coupon is: P0 = 101,49 %

Solution: YTM= 4,459%

I guess using the Excel Solver function could be useful?

any help much appreciated!