# Example 1: Cardiogenic Shock (Poor Prognosis)
# MAP 60 mmHg, CO 3.0 L/min
# CPO = (60 * 3.0) / 451 = 0.40 W
cardiac_power_output(60, 3.0)
# Example 2: Improved Hemodynamics
# MAP 75 mmHg, CO 4.5 L/min
# CPO = (75 * 4.5) / 451 = 0.75 W
cardiac_power_output(75, 4.5)
Run the code above in your browser using DataLab