Mass of the bullet, m = 0.012 kg
Initial speed of the bullet,ub = 70 m/s
Mass of the wooden block, M = 0.4 kg
Initial speed of the wooden block,uB = 0
Final speed of the system of the bullet and the block = ν
Applying the law of conservation of momentum:

For the system of the bullet and the wooden block:
Mass of the system, m' = 0.412 kg
Velocity of the system = 2.04 m/s
Height up to which the system rises = h
Applying the law of conservation of energy to this system:
Potential energy at the highest point = Kinetic energy at the lowest point

The wooden block will rise to a height of 0.2123 m.
Heat produced = Kinetic energy of the bullet – Kinetic energy of the system
