Consumption smoothing drives savings and borrowing during the life cycle:
Firms with high reputation may borrow money directly (from the public) by issuing bonds:
Rate of return of the bond between expire date $T$ and date $t \lt T$:
$$r_{t,T}=\dfrac{p_T-p_t}{p_t}\times 100$$where, $p_T\Rightarrow$ face value and $p_t\Rightarrow$ price of the bond in period $t$.
The rate of return and the price of the bond always move in opposite directions.
How do we evaluate how much a bond is worth? How do we estimate the value of a company's stock?
If the cash flow is $X=(x_0, x_1, \ldots, x_T)$, then its present value is:
$$PV(X)=x_0+\dfrac{x_1}{1+r}+\dfrac{x_2}{(1+r)^2}+\ldots+\dfrac{x_T}{(1+r)^T}=\sum_{t=0}^{T}\dfrac{x_t}{(1+r)^t}$$