Secant and tangent: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 85: | Line 85: | ||
sg = board.createElement('slider', [0,-3,4,0,1,1],{name:' '}); | sg = board.createElement('slider', [0,-3,4,0,1,1],{name:' '}); | ||
qg2 = board.createElement('point', [function(){ return qg.X()+sg.X();}, | qg2 = board.createElement('point', [function(){ return qg.X()+sg.X();}, | ||
function(){ return | function(){ return g(qg.X()+sg.X());}], {style:7}); | ||
eg = board.createElement('point', [function(){ return qg2.X()-qg.X();}, | eg = board.createElement('point', [function(){ return qg2.X()-qg.X();}, | ||
function(){ return (qg2.Y()-qg.Y())/(qg2.X()-qg.X());}], {style:7,name:'Sekantensteigung',trace:true}); | function(){ return (qg2.Y()-qg.Y())/(qg2.X()-qg.X());}], {style:7,name:'Sekantensteigung',trace:true}); |
Revision as of 13:46, 16 January 2009