Colorful fireworks often involve the decomposition of barium nitrate and potassium chlorate and the reaction of the metals magnesium, aluminum, and iron with oxygen.
Write the formulas of barium nitrate and potassium chlorate.
Credit: Chemistry 2e by OpenStax, openstax.org, licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Exercises adapted: converted to Kosoma's format, maths re-typeset, some exercises split into parts. Source commit 32c719622fbb7a0ca729cd645c1df4cf4e7d5b3a.