Epidemie und Mathematik
Aus Wiki1
(Unterschied zwischen Versionen)
Zeile 11: | Zeile 11: | ||
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}); | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
ir = brd.createElement('slider',[[0.10,-0.2],[0.5,-0.2],[0,2,100]],{name:'Infektionrate pro 100',snapWidth:1}); | ir = brd.createElement('slider',[[0.10,-0.2],[0.5,-0.2],[0,2,100]],{name:'Infektionrate pro 100',snapWidth:1}); | ||
pit0 = brd.createElement('slider',[[0.10,-0.4],[0.5,-0.4],[0,2,6]],{name:'10^x Anfangsinfizierte',snapWidth:1}); | pit0 = brd.createElement('slider',[[0.10,-0.4],[0.5,-0.4],[0,2,6]],{name:'10^x Anfangsinfizierte',snapWidth:1}); | ||
Zeile 40: | Zeile 21: | ||
- | des0 = brd.createElement('text',[-0.4,0.2,function(){ return it;}],{strokeColor:'black',fontSize:'14px'}); | + | //des0 = brd.createElement('text',[-0.4,0.2,function(){ return it;}],{strokeColor:'black',fontSize:'14px'}); |
des1 = brd.createElement('text',[-0.4,0.4,function(){ return "x = -1 bis 1";}],{strokeColor:'black',fontSize:'14px'}); | des1 = brd.createElement('text',[-0.4,0.4,function(){ return "x = -1 bis 1";}],{strokeColor:'black',fontSize:'14px'}); | ||
des2 = brd.createElement('text',[-0.4,0.3,function(){ return "y = -1 bis 1";}],{strokeColor:'black',fontSize:'14px'}); | des2 = brd.createElement('text',[-0.4,0.3,function(){ return "y = -1 bis 1";}],{strokeColor:'black',fontSize:'14px'}); | ||
</jsxgraph> | </jsxgraph> |