A 0.5kg ball is thrown over a net and gains 36J of energy. What is the velocity of the ball as it passes over the net?