Rolle's Theorem: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 36: Line 36:
         graph = board.createElement('curve', ['x', f, 'x', -10, 10], {curveType:'graph'});
         graph = board.createElement('curve', ['x', f, 'x', -10, 10], {curveType:'graph'});


     var r = board.createElement('point', [function() { return board.root(board.D(f),(p[0].X()+p[1].X())*0.5); },2], {style:6});
     var r = board.createElement('point',  
                  [function() { return 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});


/*
/*

Revision as of 18:27, 21 January 2009