programs to calulate pnematic convarying flow rates