# Example 1: Severe Anemia
# 1000g fetus, Hct 20 -> 45, Donor Hct 80
intrauterine_rbc_transfusion(1000, 20, 45, 80)
# Example 2: Moderate Anemia
# 1500g fetus, Hct 30 -> 45, Donor Hct 75
intrauterine_rbc_transfusion(1500, 30, 45, 75)
Run the code above in your browser using DataLab