how to calculate ventilation rate from a graph