Difference between revisions of "Continuous function II"

From JSXGraph Wiki
Jump to navigationJump to search
Line 19: Line 19:
 
  y3 = board.createElement('point', [0,function(){return y1.Y()+s.X();}],{style:7,name:' '});
 
  y3 = board.createElement('point', [0,function(){return y1.Y()+s.X();}],{style:7,name:' '});
  
  x1 = 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)'});
  x2 = board.createElement('point', [function(){return f(y2.Y());},function(){return y2.Y();}],{style:7,name:' '});
+
  z2 = board.createElement('point', [function(){return f(y2.Y());},function(){return y2.Y();}],{style:7,name:' '});
  x3 = board.createElement('point', [function(){return f(y3.X());},function(){return y3.Y();}],{style:7,name:' '});
+
  z3 = board.createElement('point', [function(){return f(y3.Y());},function(){return y3.Y();}],{style:7,name:' '});
  
  v1 = board.createElement('line', [x1,y1],{strokeColor:'gray',dash:2,strokeWidth:1,straightFirst:false,straightLast:false});
+
  v1 = board.createElement('line', [z1,y1],{strokeColor:'gray',dash:2,strokeWidth:1,straightFirst:false,straightLast:false});
  v2 = board.createElement('line', [x2,y2],{strokeColor:'gray',dash:2,strokeWidth:1});
+
  v2 = board.createElement('line', [z2,y2],{strokeColor:'gray',dash:2,strokeWidth:1});
  v3 = board.createElement('line', [x3,y3],{strokeColor:'gray',dash:2,strokeWidth:1});
+
  v3 = board.createElement('line', [z3,y3],{strokeColor:'gray',dash:2,strokeWidth:1});
  
 
  h1 = board.createElement('curve', [function(t){return t},function(t){return y1.Y();}], {strokeColor:'gray',dash:2,strokeWidth:1});
 
  h1 = board.createElement('curve', [function(t){return t},function(t){return y1.Y();}], {strokeColor:'gray',dash:2,strokeWidth:1});

Revision as of 19:06, 10 January 2009

References