VII. Applications: sciences, economics and optimization
49. Biology and medicine
Calculations from biology, the lab and medicine are on the home screen in the section "Applications", fields Biology and Medicine: enzyme kinetics by Michaelis and Menten (with an inhibitor too), the Hardy–Weinberg equilibrium, dilutions and colony counts, the membrane potential by Nernst and Goldman, and drug dosing. Fill in the form as for the other applications; the "?" icon explains where the formulas come from.
From measured rates of an enzyme reaction it determines K_m and V_max twice: the school way from the Lineweaver–Burk line and more precisely by nonlinear regression; the graph shows the points and both curves. For the Hardy–Weinberg equilibrium it computes the allele frequencies, the expected counts and a χ² test from the genotypes' counts, for a recessive disease the share of carriers from its incidence.
Dilutions: the stock solution's volume by c₁V₁ = c₂V₂, a serial dilution and CFU/ml from a colony count. Dosing: a dose by body mass or body surface (Mosteller, Du Bois), an infusion's rate in ml/h and drops per minute and the creatinine clearance by Cockcroft and Gault. The dose calculations are only a guide and no substitute for a clinician's judgement.
Examples
model(enzyme; find=params[one]; SS=0.5 1 2 4 8[mmol_l]; vv=22 31 52 64 81[umol_l_min]; input=table)![model(enzyme; find=params[one]; SS=0.5 1 2 4 8[mmol_l]; vv=22 31 52 64 81[umol_l_min]; input=table)](img/bio-enzyme.png)
![model(enzyme; find=params[one]; SS=0.5 1 2 4 8[mmol_l]; vv=22 31 52 64 81[umol_l_min]; input=table)](img/bio-enzyme-1.png)
![model(enzyme; find=params[one]; SS=0.5 1 2 4 8[mmol_l]; vv=22 31 52 64 81[umol_l_min]; input=table)](img/bio-enzyme-2.png)
model(enzyme; find=v[umol_l_min]; Vmax=100[umol_l_min]; Km=2[mmol_l]; S=2[mmol_l]; I=1[mmol_l]; Ki=1[mmol_l]; input=constants; inhibition=competitive)![model(enzyme; find=v[umol_l_min]; Vmax=100[umol_l_min]; Km=2[mmol_l]; S=2[mmol_l]; I=1[mmol_l]; Ki=1[mmol_l]; input=constants; inhibition=competitive)](img/bio-inhibitor.png)
![model(enzyme; find=v[umol_l_min]; Vmax=100[umol_l_min]; Km=2[mmol_l]; S=2[mmol_l]; I=1[mmol_l]; Ki=1[mmol_l]; input=constants; inhibition=competitive)](img/bio-inhibitor-1.png)
![model(enzyme; find=v[umol_l_min]; Vmax=100[umol_l_min]; Km=2[mmol_l]; S=2[mmol_l]; I=1[mmol_l]; Ki=1[mmol_l]; input=constants; inhibition=competitive)](img/bio-inhibitor-2.png)
model(hardyweinberg; find=frequencies[one]; AA=1787[one]; Aa=3039[one]; aa=1303[one]; input=counts)![model(hardyweinberg; find=frequencies[one]; AA=1787[one]; Aa=3039[one]; aa=1303[one]; input=counts)](img/bio-hardy.png)
![model(hardyweinberg; find=frequencies[one]; AA=1787[one]; Aa=3039[one]; aa=1303[one]; input=counts)](img/bio-hardy-1.png)
![model(hardyweinberg; find=frequencies[one]; AA=1787[one]; Aa=3039[one]; aa=1303[one]; input=counts)](img/bio-hardy-2.png)
model(hardyweinberg; find=frequencies[one]; f=0.04[pct]; input=recessive)![model(hardyweinberg; find=frequencies[one]; f=0.04[pct]; input=recessive)](img/bio-carriers.png)
![model(hardyweinberg; find=frequencies[one]; f=0.04[pct]; input=recessive)](img/bio-carriers-1.png)
![model(hardyweinberg; find=frequencies[one]; f=0.04[pct]; input=recessive)](img/bio-carriers-2.png)
model(dilution; find=V1[ml]; c1=10[mg_ml]; c2=1[mg_ml]; V2=50[ml]; mode=simple)
model(dilution; find=cfu[cfu_ml]; N=150[one]; Vp=0.1[ml]; D=100000[one]; mode=cfu)
model(nernst; find=E[mV]; Ko=5[mmol_l]; Ki=140[mmol_l]; Nao=145[mmol_l]; Nai=15[mmol_l]; Clo=110[mmol_l]; Cli=10[mmol_l]; PK=1[one]; PNa=0.04[one]; PCl=0.45[one]; T=37[degC]; equation=goldman)![model(nernst; find=E[mV]; Ko=5[mmol_l]; Ki=140[mmol_l]; Nao=145[mmol_l]; Nai=15[mmol_l]; Clo=110[mmol_l]; Cli=10[mmol_l]; PK=1[one]; PNa=0.04[one]; PCl=0.45[one]; T=37[degC]; equation=goldman)](img/bio-goldman.png)
![model(nernst; find=E[mV]; Ko=5[mmol_l]; Ki=140[mmol_l]; Nao=145[mmol_l]; Nai=15[mmol_l]; Clo=110[mmol_l]; Cli=10[mmol_l]; PK=1[one]; PNa=0.04[one]; PCl=0.45[one]; T=37[degC]; equation=goldman)](img/bio-goldman-1.png)
![model(nernst; find=E[mV]; Ko=5[mmol_l]; Ki=140[mmol_l]; Nao=145[mmol_l]; Nai=15[mmol_l]; Clo=110[mmol_l]; Cli=10[mmol_l]; PK=1[one]; PNa=0.04[one]; PCl=0.45[one]; T=37[degC]; equation=goldman)](img/bio-goldman-2.png)
model(dosage; find=dose[mg]; h=180[cm]; m=80[kg]; ds=100[mg_m2]; mode=bsa)
model(dosage; find=crcl[ml_min]; age=60[yr]; m=72[kg]; scr=88.4[umol_l]; mode=crcl; sex=female)![model(dosage; find=crcl[ml_min]; age=60[yr]; m=72[kg]; scr=88.4[umol_l]; mode=crcl; sex=female)](img/med-crcl.png)
![model(dosage; find=crcl[ml_min]; age=60[yr]; m=72[kg]; scr=88.4[umol_l]; mode=crcl; sex=female)](img/med-crcl-1.png)
![model(dosage; find=crcl[ml_min]; age=60[yr]; m=72[kg]; scr=88.4[umol_l]; mode=crcl; sex=female)](img/med-crcl-2.png)
Known limitations
- Enzyme kinetics only for one substrate in the steady state (Michaelis–Menten); allosteric enzymes (Hill's equation) aren't there yet.
- Hardy–Weinberg for one gene with two alleles; more alleles and X-linked genes aren't there yet.
- Dosing is only a guide – it doesn't account for drug interactions, age groups or adjustments for organ function other than the creatinine clearance.