Continuous function II: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 15: Line 15:
  s = board.createElement('slider', [0,-2,4,0,1,1],{name:' '});
  s = board.createElement('slider', [0,-2,4,0,1,1],{name:' '});


  y1 = board.createElement('glider', [-2,0,b1axisx],{name:'a'});
  y1 = board.createElement('glider', [0,3,b1axisy],{name:'f(a)'});
  y2 = board.createElement('point', [function(){return y1.X()-s.X();},0],{style:7,name:' '});
  y2 = board.createElement('point', [function(){return y1.Y()-s.X();},0],{style:7,name:' '});
  y3 = board.createElement('point', [function(){return y1.X()+s.X();},0],{style:7,name:' '});
  y3 = board.createElement('point', [function(){return y1.Y()+s.X();},0],{style:7,name:' '});


  x1 = board.createElement('point', [function(){return f(y1.Y());},function(){return y1.Y();}],{style:7,name:'f(a)'});
  x1 = board.createElement('point', [function(){return f(y1.Y());},function(){return y1.Y();}],{style:7,name:'f(a)'});

Revision as of 17:01, 10 January 2009

References