Laboratory preparation of methane: When the mixture of sodium ethanoate and soda-lime is taken in a hard glass test tube and heated. The gas that evolved is methane. It is collected by the downward displacement of water.
CH3COONa+NaOHCaO⟶300∘CNa2CO3+CH4↑