Epidemie und Mathematik
Aus Wiki1
(Unterschied zwischen Versionen)
Zeile 9: | Zeile 9: | ||
KT = brd.createElement('slider',[[0.10,-0.6],[0.5,-0.6],[0,10,100]],{name:'Kontakte pro Tag',snapWidth:1}); | KT = brd.createElement('slider',[[0.10,-0.6],[0.5,-0.6],[0,10,100]],{name:'Kontakte pro Tag',snapWidth:1}); | ||
T = brd.createElement('slider',[[0.10,-0.8],[0.5,-0.8],[0,10,100]],{name:'Tage',snapWidth:1}); | T = brd.createElement('slider',[[0.10,-0.8],[0.5,-0.8],[0,10,100]],{name:'Tage',snapWidth:1}); | ||
- | it0=Math.pow(1,pit0); | + | it0=Math.pow(1,pit0.Value()); |
- | ipr=1+ir*KT/100; | + | ipr=1+ir.Value()*KT.Value()/100; |
- | it=it0*Math.pow(ipr, | + | it=it0*Math.pow(ipr,T.Value()); |