# Example 1: Compensated Metabolic Acidosis
# HCO3 = 14, PaCO2 = 29
# Exp = (1.5 * 14) + 8 = 29 +/- 2 = 27-31
winters_formula(14, 29)
# Example 2: Concomitant Respiratory Acidosis
# HCO3 = 14, PaCO2 = 35 (Higher than expected range 27-31)
winters_formula(14, 35)
Run the code above in your browser using DataLab