Difference between revisions of "Rolle's Theorem"

From JSXGraph Wiki
Jump to navigationJump to search
Line 36: Line 36:
 
     var graph = board.createElement('curve', ['x', f, 'x', -10, 10], {curveType:'graph'});
 
     var graph = board.createElement('curve', ['x', f, 'x', -10, 10], {curveType:'graph'});
  
     var r = board.createElement('point',  
+
     var r = board.createElement('point', [function() { return board.root(board.D(f),(p[0].X()+p[1].X())*0.5); },
                  [function() { return board.root(board.D(f),(p[0].X()+p[1].X())*0.5); },
 
 
                     3/*function() { return f(board.root(board.D(f),(p[0].X()+p[1].X())*0.5)); }*/],  
 
                     3/*function() { return f(board.root(board.D(f),(p[0].X()+p[1].X())*0.5)); }*/],  
 
         {name:' ',style:6});
 
         {name:' ',style:6});

Revision as of 20:30, 21 January 2009