What is the energy transformation of a firecracker?

What is the energy transformation of a firecracker?