20 cm 3 of hydrogen gas are sparked with 20cm 3 of oxygen gas in…