A uniform rod of length l and mass 4m lies on a frictionless horizontal surface on which it is free to move. A ball of mass m moving with speed v as shown in figure, collides with the rod at one of its ends. If the ball comes to rest immediately after the collision, then find the angular velocity ω of the rod just after collision.