A small block of mass M moves on a frictionless surface of an inclined plane, as shown in the figure. The angle of the incline suddenly changes from 60∘ and 30∘ at point B.
The block is initially at rest at A. Assume that collisions between the block and the incline are totally inelastic. The speed of the block at point B immediately after it strikes the second incline is