The uniform rectangular block shown is moving along a frictionless surface with a velocity v1 when it strikes a small obstruction at B. Assuming that the impact between corner A and obstruction B is perfectly plastic, determine the magnitude of the velocity v1 for which the maximum angle u through which the block will rotate is 30