Epidemie und Mathematik

Aus Wiki1

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
Zeile 17: Zeile 17:
var Kurve= brd.createElement('functiongraph', [function(x){return infektionen(x*T.Value())/infektionen(T.Value());},0,1]);
var Kurve= brd.createElement('functiongraph', [function(x){return infektionen(x*T.Value())/infektionen(T.Value());},0,1]);
 +
 +
 +
//Ablesepunkt
 +
var g=brd.create('glider',[1,1,Kurve],{color:'black',name:'Messpunkt'});
 +
px1=[0,function(){return g.Y();}];
 +
px2=[function(){return g.X();},function(){return g.Y();}];
 +
py1=[function(){return g.X();},0];
 +
py2=[function(){return g.X();},function(){return g.Y();}];
 +
 +
var l_x=brd.create('line',[px1,px2],{strokeColor:'blue',strokeWidth:1,dash:1});
 +
var l_Y=brd.create('line',[py1,py2],{strokeColor:'blue',strokeWidth:1,dash:1})
des0 = brd.createElement('text',[-0.4,0.2,function(){ return Math.round(infektionen(T.Value())*10)/10;}],{strokeColor:'black',fontSize:'14px'});     
des0 = brd.createElement('text',[-0.4,0.2,function(){ return Math.round(infektionen(T.Value())*10)/10;}],{strokeColor:'black',fontSize:'14px'});     

Version vom 16:07, 29. Mär. 2020

Persönliche Werkzeuge