I am new to the pricing of bonds:
Suppose that I would like to price a floating-rate bond with par value \$100, with maturity at $T$ years from now, paying coupons semi-annually.
Suppose that $r_{n-0.5,n} $ denotes the annual interest rate from time $n-0.5$ to time $n$, where $n \in \Pi:=\{ 0.5, 1, \ldots, T-0.5, T\}.$ For each $n \in \Pi $, let the coupon rate $c_n$ be defined by $$ c_n := \frac{r_{n-0.5,n}}{2}. $$ Let $r_0:= 7.5 \%$ and that the yield curve is flat at $7.5 \%$ as well.
Therefore, the cash-flow of the floating-rate bond is given by
Time $0$: Payment of \$$100$.
Time $1/2$: Receipt of \$($50r_{0,0.5}$).
$\vdots$
Time $T-1/2$: Receipt of \$($50r_{T-1,T-0.5}$).
Time $T$: Receipt of \$($100+50r_{T-0.5,T}$).
I am interested in computing
(i) the present value of the bond;
(ii) the Macaulay's duration of the bond.
First question:
Seemingly, by some arguments of replicating portfolio, one can always show that any bond with this structure has present value equal to the par value (page 4 of the following link):
http://people.stern.nyu.edu/jcarpen0/courses/b403333/09floater.pdf
Therefore, it seems that by the same argument, the present value is \$$100$. Is this correct?
Second question:
I am totally lost. By the definition of Macaulay's duration, for any bond with constant yield $i$ and coupon payments $c_{t_1}, \ldots, c_{t_k}$ at times $t_1, \ldots, t_k$ respectively, the Macaulay's duration is defined by $$ D= \sum_{j=1}^k t_j \bigg[ \frac{ \frac{c_{t_j}}{(1+i)^{t_j}} }{B} \bigg], $$ where $B$ denotes the bond value. This clearly has no use in this problem as the coupon cash-flows are unknown. I notice that there are similar discussions on this theme, but the answer seems impossible to follow for me, e.g.
Can anyone write down an explicit formula to compute the duration, as clear as possible, for a beginner like me? Thanks.