A Capnographic Sensor Using Acoustic Virial Equation for Diagnostic Applications