A small block of mass M moves on a frictionless surface of an inclined plane , as shown in figure.The angle of the incline suddenly changes from 60
o to 30
o at point B .The block is initially at rest at A .Assume that collisions between the block and the incline are totally inelastic (g =10m/s
2)