A stone slab of mass 320 kg rests in equilibrium on rough horizontal ground. A force of magnitude \(X \text{ N}\) acts upwards on the slab at an angle of \(\theta\) to the vertical, where \(\tan \theta = \frac{7}{24}\) (see diagram).
(i) Find, in terms of \(X\), the normal component of the force exerted on the slab by the ground. [3]
(ii) Given that the coefficient of friction between the slab and the ground is \(\frac{3}{8}\), find the value of \(X\) for which the slab is about to slip. [3]