What about doing an experiment? Make a pendulum with a little cup on the end and set the firecracker in their and try to focus the explosion so it will rotate the pendulum ,
Then measure the change in height of the pendulum . mgh is the gravitational potential energy. Ballistic pendulum idea or do something with momentum conservation.