A particle \(P\) of mass \(m\) kg moves along a straight line under the action of a force of magnitude \(\frac{km}{x^2}\) N, where \(k\) is a constant, directed towards a fixed point \(O\) on the line, where \(OP = x\) m. \(P\) starts from rest at \(A\), at a distance \(a\) m from \(O\). When \(OP = x\) m, the speed of \(P\) is \(v\) ms\(^{-1}\).
- Show that \(v = \sqrt{\frac{2k(a-x)}{ax}}\). [6 marks]
\(B\) is the point half-way between \(O\) and \(A\). When \(k = \frac{1}{2}\) and \(a = 1\), the time taken by \(P\) to travel from \(A\) to \(B\) is \(T\) seconds
Assuming the result that, for \(0 \leq x \leq 1\), \(\int \sqrt{\frac{x}{1-x}} dx = \arcsin(\sqrt{x}) - \sqrt{x(1-x^2)} + \text{constant}\),
- find the value of \(T\). [5 marks]