A particle $P$ of mass $m\,\mathrm{kg}$ moves along a horizontal straight line against a resistive force of magnitude $2mv^3\,\mathrm{N}$, where $v\,\mathrm{m\,s^{-1}}$ is the velocity of $P$ at time $t\,\mathrm{s}$. When $t=0$, $v=1$.
(a) Find an expression for $v$ in terms of $t$. [4]
(b) Find the displacement of $P$ from its initial position when $t=6$. [3]