# Example 1: Normal Maintenance
# 3 kg neonate, D10W running at 9 mL/hr
# GIR = (9 * 10) / (6 * 3) = 90 / 18 = 5.0 mg/kg/min
glucose_infusion_rate(9, 10, 3)
# Example 2: High Requirement
# 4 kg infant, D12.5W running at 15 mL/hr
# GIR = (15 * 12.5) / (6 * 4) = 187.5 / 24 = 7.81 mg/kg/min
glucose_infusion_rate(15, 12.5, 4)
Run the code above in your browser using DataLab