This presentation is an HTML5 website
Press → key to advance.
Zoom in/out: Ctrl or Command + +/-
Bianca Valentin, Alfred Wassermann
University of Bayreuth, Germany
<jsxgraph width="500" height="500">
var brd = JXG.JSXGraph.initBoard('jxgbox',{boundingbox:[-2,2,2,-2]});
var p = brd.create('point',[1.5,1.5],{face:'o', size:8});
brd.create('segment',[[0,0],p],{dash:3});
</jsxgraph>
              
              
var brd, g, w = 30,
x = [], y = [];
brd = JXG.JSXGraph.initBoard('jxgbox1', {axis:true, boundingbox:[0,20,w,-2]});
g = brd.create('curve', [x,y],{strokeWidth:3, strokeColor:'yellow'}); 
fetchData = function() { 
    new Ajax.Request('/ajax/fakesensor.php', {
            onComplete: function(data) {
                var t, a;
                if (200 == data.status) {
                    t = data.responseText;
                    a = parseFloat(t);
                    if (x.length<w) {          
                        x.push(x.length);
                    } else {
                        y.splice(0,1);
                    }
                    y.push(a);
                    brd.update();
                };
            }
        });
};
setInterval(fetchData,500);
          
          
                   
Square = Macro(D,E) { 
  k1=k(E,D) nolabel draft; x=[DE] nolabel draft; v=|_(x,E) draft; X=k1&v nolabel; 
  z=||(x,X_1) draft; z2=|_(x,D) draft; Y=z2&z nolabel; P[X_1,Y,D,E] nolabel; 
}