Estimate bond yield to maturity from annual coupon C, face value F, current price P and years to maturity n using YTM ≈ [C + (F−P)/n] / [(F+P)/2].
輸入年利息 C、面值 F、價格 P 與剩餘年限 n,求近似 YTM。