Determination of resonance frequency of the respiratory system in respiratory distress syndrome