Studying Interactions of Gas Molecules With Nanomaterials Loaded In A Microwave Resonant Cavity