Solution:
The following experiment can be used to demonstrate that hydrochloric acid contains both hydrogen and chlorine.
Step 1: Prepare a voltameter for water electrolysis with a platinum cathode and a graphite anode.
Step 2: Fill the voltameter with 4 molar HCl and measure direct current.
Step 3: Allow the reaction to take place without disturbing the device. At the cathode, a colourless gas is produced, whereas, at the anode, a greenish gas is produced.
Step 4: Bring the burning splinter closer to the colourless gas, and it will explode into flame, indicating that the evolved gas is hydrogen.
Step 5: When you apply wet starch iodide paper to the greenish-yellow gas, it turns blue-black, suggesting that the developed gas is chlorine.
As a result of this experiment, hydrochloric acid includes both hydrogen and chlorine. For this experiment, the equation is
2HCl – >500°c→ H2 + Cl2