A 0.5 kg ball lying at rest is struck by a bat. The force exerted by the bat on the ball varies with time as shown in the graph.

What are the impulse given to the ball and the speed with which it leaves the bat? (Ignore all other forces during the short contact.)
