A semi-infinite bar is initially at temperature $100^{\circ}$ for $0^{\prime}<x<1$, and $0^{\circ}$ for $x>1$. Starting at $t=0$, the end $x=0$ is maintained at $0^{\circ}$ and the sides are insulated. Find the temperature in the bar at time $t$, as follows. Separate variables in the heat flow equation and get clementary solutions $e^{a^{2} \lambda^{2} t} \sin k x$ and $e^{-a^{2} k^{21}} \cos k x$. Discard the cosines since $u=0$ at $x=0$. Leok for a solution
$$
u(x, t)=\int_{0}^{\infty} B(k) e^{-k^{2} a^{2 t}} \sin k x d k
$$
and proceed as in Example 2. I eave your answer as an integral.