Answer:
Explanation:
The bullet has some initial velocity and then embedded into the block. It comes to rest and the bullet block system moves with some common velocity which is calculated by the conservation of momentum.
By taking this kinetic energy the block and bullet system moves up to a certain height so that the total kinetic energy is converted into potential energy.