1459844952-d7f74a5a-3e92-466d-9627-b19051b0eb66

A method and device are provided for measuring state of lung function of a patient using ultrasonic flow and molar mass measurement. The inflatable member houses a resiliently expandable inflation member generally made of open cell foam, and has an opening for airflow communication between the interior of the inflatable member and the outside environment. The six degree of freedom haptic device may be configured to provide different resolutions for different degrees of freedom, depending on simulation requirements.