Continuous function II: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
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:' '}); | ||
z1 = board.createElement('point', [function(){return f(y1.Y());},function(){return y1.Y();}],{style:7,name:'f(a)'}); | |||
z2 = board.createElement('point', [function(){return f(y2.Y());},function(){return y2.Y();}],{style:7,name:' '}); | |||
z3 = board.createElement('point', [function(){return f(y3.Y());},function(){return y3.Y();}],{style:7,name:' '}); | |||
v1 = board.createElement('line', [ | v1 = board.createElement('line', [z1,y1],{strokeColor:'gray',dash:2,strokeWidth:1,straightFirst:false,straightLast:false}); | ||
v2 = board.createElement('line', [ | v2 = board.createElement('line', [z2,y2],{strokeColor:'gray',dash:2,strokeWidth:1}); | ||
v3 = board.createElement('line', [ | 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}); |