(a) A particle $P$ is initially at rest at the lowest point on the smooth inner surface of a hollow sphere with centre $O$ and radius $a$. The particle is projected horizontally with speed $u$ and begins to move in a vertical circle on the inner surface of the sphere. It loses contact with the sphere at $A$, where $OA$ makes an angle $\theta$ with the upward vertical through $O$. Given that the speed of $P$ at $A$ is $\sqrt{\frac{3ag}{5}}$, find $u$ in terms of $a$ and $g$. [5]
(b) Find, in terms of $a$, the greatest height above the level of $O$ achieved by $P$ in its subsequent motion. You may assume that $P$ achieves its greatest height before making any further contact with the sphere. [5]