A solution containing an ionic compound is subjected to the anion and cation confirmation
tests performed in this experiment, providing the following resus:
- Addition of silver nitrate: a bright yellow precipitate formed.
- Flame test: a purple color was observed.
Identify the ionic compound and write the chemical reaction that occurs when the ionic compound interacts with the silver nitrate. Identify the spectator ions.