Consider Eq. (2.77) on the interval $(-L, L)$
(a) Show that the Laplace transform of the exit time is given by
$$
\Pi(s, x)=\frac{\cosh [x \sqrt{s / D}]}{\cosh [L \sqrt{s / D}]}
$$
Suppose that a random walker starts at the origin, $x=0 .$ Expand $\Pi(s, x=0)$ in powers of $s$ and deduce from this expansion that $\left\langle T^{n}\right\rangle=n ! A_{n} \tau^{n}$, where
$\tau=L^{2} / D$ and the coefficients $A_{n}$ are
$$
\begin{aligned}
&A_{1}=\frac{1}{2}, \quad A_{2}=\frac{5}{24}, \quad A_{3}=\frac{61}{720}, \quad A_{4}=\frac{277}{8064} \\
&A_{5}=\frac{50521}{3628800}, \quad A_{6}=\frac{540553}{95800320}, \ldots
\end{aligned}
$$
(b) Show that the general expression for the $n$th moment of the exit time is
$$
\left\langle T^{n}\right\rangle=\frac{n !}{(2 n) !}\left|E_{2 n}\right| \tau^{n}
$$
where $E_{n}$ are the Euler numbers that are defined by the expansion
$$
\frac{1}{\cosh z}=\sum_{n \geq 0} \frac{E_{n}}{n !} z^{n}
$$