A particle $P$ of mass $5\,\mathrm{kg}$ moves along a horizontal straight line. At time $t\,\mathrm{s}$, the velocity of $P$ is $v\,\mathrm{m\,s^{-1}}$ and its displacement from a fixed point $O$ on the line is $x\,\mathrm{m}$. The forces acting on $P$ are a force of magnitude $500/v\,\mathrm{N}$ in the direction $OP$ and a resistive force of magnitude $\frac12v^2\,\mathrm{N}$. When $t=0$, $x=0$ and $v=5$.
(a) Find an expression for $v$ in terms of $x$. [6]
(b) State the value that the speed approaches for large values of $x$. [1]