Let the outside force \(F(x, t)\) be given as a Fourier sine series:
$$
F(x, t)=\sum_{n=1}^{\infty} F_{n}(t) \sin n x, \quad t \geq 0,0 \leq x \leq
\pi .
$$
Obtain a particular solution of the partial differential equation
$$
H \frac{\partial u}{\partial t}-K^{2} \frac{\partial^{2} u}{\partial
x^{2}}=F(x, t)
$$
with boundary conditions \(u(0, t)=0, u(\pi, t)=0\), by setting
$$
u(x, t)=\sum_{n=1}^{\infty} \phi_{n}(t) \sin n x, \quad \phi_{n}(t)=0,
$$
substituting in the differential equation, and comparing coefficients of \(\sin
n x\) (corollary to Theorem 1. Section 7.2). Show that the result obtained
agrees with (10.119).