Show that the impedance of a real transmission line seen from a position $x$ on the line is given by
$$
Z_{x}=Z_{0} \frac{A \mathrm{e}^{-\gamma}-B \mathrm{e}^{+\gamma x}}{A \mathrm{e}^{-\gamma}+B \mathrm{e}^{+\gamma x}}
$$
where $\gamma$ is the propagation constant and $A$ and $B$ are the current amplitudes at $x=0$ of the waves travelling in the positive and negative $x$ -directions respectively. If the line has a length $I$ and is terminated by a load $Z_{L}$, show that
$$
Z_{L}=Z_{0} \frac{A \mathrm{e}^{-\gamma l}-B \mathrm{e}^{\gamma l}}{A \mathrm{e}^{-\gamma l}+B \mathrm{e}^{\gamma l}}
$$