When the disc breaks off the body M, its velocity towards right (along x-axis) equals the velocity of the body M, and let the disc's velocity in upward direction (along y-axis) at that moment be v′y
From conservation of momentum, along x-axis for the system (disc + body)
mv=(m+M)v′x or v′x=mvm+M (1)
And from energy conservation, for the same system in the field of gravity,
12mv2=12(m+m)v′2x+12mv′2y+mgh′, using (1)
or, v′2y=v2−mv2(m+M)−2gh′
Also, if h′′ is the height of the disc, from the break-off point,
then v′2y=2gh′′
So, 2g(h′′+h′)=v2−mv2(M+m)
Hence, the total height, raised from the initial level
=h′+h′′=Mv22g(M+m)