Rigid Body

A homogeneous ball (mass , radius ) is struck by a horisontal force in the point which is above the center by the distance . The time of force action is very small, but is nonzero. Find the velocity of the center-of-mass and the angular velocity of the ball around the axis which goes through the center-of-mass, if a) there is no friction with the floor, and b) if the friction prevents sliding. ()