Here,
L = 1 m,
m = 12 kg,
m = 10 g = 0.1 kg
and v = 500 m/s
According to the law of conservation of angular momentum, angular momentum of the bullet-door system should remain conserved. Before impact,only bullet is moving. Therefore, initial angular momentum of the system.
vector Li = mg x L/2.......(i)
[Bullet is aimed at the centre of the door]
After the bullet gets embedded, suppose that the system acquires angular velocity equal to ω. Let I be the moment of inertia of the bullet-door system about an axis at one end of the door. Then the final angular momentum vector Lf = Iω.
Now, I = M.l. of the bullet about an axis through one end of door + M.I. of the door about the same axis,

