Rolle's Theorem: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 39: | Line 39: | ||
function() { return f(board.root(board.D(f),(p[0].X()+p[1].X())*0.5)); }], | function() { return f(board.root(board.D(f),(p[0].X()+p[1].X())*0.5)); }], | ||
{name:' ',style:6}); | {name:' ',style:6}); | ||
var r2 = board.createElement('point', [function(){ return r.X()+0.01;}, | |||
function(){ return f(r.X()+0.01);}], {style:7,visible:false}); | function(){ return f(r.X()+0.01);}], {style:7,visible:false}); | ||
Line 46: | Line 45: | ||
line = board.createElement('line',[r,r2],{strokeColor:'#ff0000'}); | line = board.createElement('line',[r,r2],{strokeColor:'#ff0000'}); | ||
line = board.createElement('line',[p[0],p[1]],{strokeColor:'#ff0000',dash:1}); | line = board.createElement('line',[p[0],p[1]],{strokeColor:'#ff0000',dash:1}); | ||
board.unsuspendUpdate(); | board.unsuspendUpdate(); |
Revision as of 18:32, 21 January 2009