The physics cqlculation will be solved using energy and momentum.
After you got the speed when it is right on before explotion, let's say that E1>E2 because there is energy losing due to momentum.
Then, you just have to do
1/2MV2^2. Then compare it with TNT