Which energy transformation takes place when a firecracker explodes?

nuclear to kinetic and chemical


• mechanical to electromagnetic and electrical

• chemical to thermal and electromagnetic