I am calculating the YTM of a 2-year bond with the following structure:
(1) It paid fixed coupon of 10% for the first year. Coupon paid semi-annually.
(2) It paid float rate + 4% spread for the next year. Coupon paid semi-annually.
Please help me calculating the YTM. I have no remaining knowledge on bond valuation and such.