Epidemie und Mathematik
Aus Wiki1
(Unterschied zwischen Versionen)
Zeile 2: | Zeile 2: | ||
//Eingabe | //Eingabe | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
brd = JXG.JSXGraph.initBoard('jxgbox', {boundingbox:[-1.1, 1.1, 1.1, -1.1], grid: true, axis:true}); | brd = JXG.JSXGraph.initBoard('jxgbox', {boundingbox:[-1.1, 1.1, 1.1, -1.1], grid: true, axis:true}); | ||
Zeile 16: | 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=POT(1,pit0); | + | //it0=POT(1,pit0); |
ipr=1+ir*KT/100; | ipr=1+ir*KT/100; | ||
//it=it0*POT(ipr,t); | //it=it0*POT(ipr,t); |