Solution (source code)

= Solution

The initial displacement is already the first spatial <normal mode>, so <sine> <orthogonality> gives $A_1=1$ and every other $A_n=0$. Zero initial velocity gives every $B_n=0$. Consequently
$$
\boxed{f(x,t)=\sin\frac{\pi x}{L}\cos\frac{\pi ct}{L}}.
$$
Both fixed-end values vanish for all time, and differentiation shows that the initial velocity is zero. This is the fundamental <standing wave>, with <angular frequency> $\pi c/L$.