Difference between revisions of "Continuous function II"

From JSXGraph Wiki
Jump to navigationJump to search
Line 16: Line 16:
  
 
  y1 = board.createElement('glider', [0,3,b1axisy],{name:'f(a)'});
 
  y1 = board.createElement('glider', [0,3,b1axisy],{name:'f(a)'});
  y2 = board.createElement('point', [0,function(){return y1.Y()-s.X();}],{style:7,name:' '});
+
  y2 = board.createElement('point', [0,function(){return y1.Y()-s.Value();}],{style:7,name:' '});
  y3 = board.createElement('point', [0,function(){return y1.Y()+s.X();}],{style:7,name:' '});
+
  y3 = board.createElement('point', [0,function(){return y1.Y()+s.Value();}],{style:7,name:' '});
  
 
  z1 = board.createElement('point', [function(){return f(y1.Y());},function(){return y1.Y();}],{style:7,name:'f(a)'});
 
  z1 = board.createElement('point', [function(){return f(y1.Y());},function(){return y1.Y();}],{style:7,name:'f(a)'});

Revision as of 15:35, 4 June 2009

References