# Example 1: Methanol Ingestion
# 100 mL of 100% Methanol, 70kg person
estimate_toxic_alcohol_level("methanol", 100, "mL", 100, 70)
# Example 2: Ethanol Intoxication
# 500 mL of 40% Vodka, 80kg Male
# SG ~0.79, Vd ~0.7
estimate_toxic_alcohol_level("ethanol", 500, "mL", 40, 80, "male")
Run the code above in your browser using DataLab