A small ball of mass m is thrown upward with velocity u from the ground. The ball experiences a resistive force mkv2, where v is its speed. The maximum height attained by the ball is
(1) (1/2k) tan-1 (ku2/g)
(2) (1/k) In (1 + (ku2/2g))
(3) (1/2k) In (1 + (ku2/g))
(4) (1/k) tan-1 (ku2/2g)