The equation of the transverse wave is given by:
\[
y = 5 \sin \left( 4 \pi t - \frac{\pi x}{2} \right)
\]
At \( x = 0 \), the equation simplifies to:
\[
y = 5 \sin(4 \pi t)
\]
Now, the maximum displacement occurs when \( \sin(4 \pi t) = \pm 1 \).
For the first time, the particle moves from the mean position (where \( y = 0 \)) to the extreme (where \( y = 5 \)).
At \( t = 0 \), the particle is at the mean position (\( y = 0 \)).
The particle will reach the extreme for the first time when:
\[
\sin(4 \pi t) = 1
\]
This occurs when:
\[
4 \pi t = \frac{\pi}{2}
\]
Solving for \( t \):
\[
t = \frac{1}{8} \, \text{seconds}
\]
Thus, the time taken for the particle to move from the mean position to extreme displacement is \( \frac{1}{8} \) seconds.