Let the bullet be traveling at a speed v before entering the first plank.
If it loses (n1)th velocity its new velocity will become v−nv
Kinetic energy lost ΔE=21mv2−21m(v−nv)2=21mv2(1−(nn−1)2)
Now, let N be the number of planks after which the velocity of the bullet becomes 0 .
Thus we get N×( Energy lost in one plank )= Total Energy or N×ΔE=21mv2 2ΔEmv2=N=1−(nn−1)21 N=2n−1n2
The velocity will become o after passing through 2n−1n2 planks