Separation of variables and application of the fixed-fixed boundary condition leads to
\begin{align}\tag{i}\label{xiexpanders}
\xi(x,t) = \sum_{n=1}^{\infty} \sin(n\pi x/L)(a_n \cos\omega t + b_n\sin \omega t)
\end{align}
To find the expansion coefficients for the initial condition \(\xi(x,0)\), first note that \(b_n = 0\) in equation (\ref{xiexpanders}):
\begin{align*}
\xi(x,0) &= \sum_{n=1}^{\infty} a_n\sin(n\pi x/L)
\end{align*}
Invoking the orthogonality of sines gives
\begin{align*}
\int_0^L \xi(x,0)\sin(m\pi x/L) dx &= \sum_{n=1}^{\infty} a_n \int_0^L \sin(n\pi x/L)\sin(m\pi x/L)dx \\
\int_0^L \xi(x,0)\sin(m\pi x/L) dx &= \frac{L}{2}\sum_{n=1}^{\infty} a_n \delta_{nm}\\
\implies a_n &= \frac{2}{L}\int_0^L \xi(x,0) \sin(n\pi x/L) dx
\end{align*}
Thus the solution is \(\xi(x,t) = \sum_{n=1}^{\infty} a_n\sin(n\pi x/L)\), where \(a_n\) is given above.
To find the expansion coefficients for the initial condition \(\dot{\xi}(x,0)\), first note that the time derivative of equation (\ref{xiexpanders}) must be taken,
\[\dot{\xi}(x,t) = \sum_{n=1}^{\infty} \sin(n\pi x/L)(-a_n \omega\sin\omega t + \omega b_n\cos \omega t)\,,\]
from which evaluation at \(t=0\) shows that \(a_n = 0\):
\[\dot{\xi}(x,0) = \omega \sum_{n=1}^{\infty} b_n\sin(n\pi x/L)\,.\]
Invoking the orthogonality of sines gives
\begin{align*}
\int_0^L \dot{\xi}(x,0)\sin(m\pi x/L) dx &= \omega \sum_{n=1}^{\infty} b_n \int_0^L \sin(n\pi x/L)\sin(m\pi x/L)dx \\
\int_0^L \dot{\xi}(x,0)\sin(m\pi x/L) dx &= \frac{L\omega}{2}\sum_{n=1}^{\infty} b_n \delta_{nm}\\
\implies b_n &= \frac{2}{L\omega}\int_0^L \dot{\xi}(x,0) \sin(n\pi x/L) dx
\end{align*}
Thus the solution is \(\xi(x,t) = \sum_{n=1}^{\infty} b_n\sin(n\pi x/L)\), where \(b_n\) is given above.