Differentiability: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 15: | Line 15: | ||
var x0 = board.create('glider', [1, 0, board.defaultAxes.x], {name: 'x_0', size:4}); | var x0 = board.create('glider', [1, 0, board.defaultAxes.x], {name: 'x_0', size:4}); | ||
var | var fx0 = board.create('point', [function() { return x0.X(); }, function() { return pol(x0.X()); }], {name: '', color: 'grey', fixed: true, size:3}); | ||
var x = board.create('glider', [5, 0, board.defaultAxes.x], {name: 'x', size:4}); | var x = board.create('glider', [5, 0, board.defaultAxes.x], {name: 'x', size:4}); | ||
var fx = board.create('point', [function() { return x.X(); }, function() { return pol(x.X()); }], {name: '', color: 'grey', fixed: true, size:3}); | var fx = board.create('point', [function() { return x.X(); }, function() { return pol(x.X()); }], {name: '', color: 'grey', fixed: true, size:3}); | ||
var line = board.create('line',[fx0, fx],{strokeColor:'#ff0000',dash:2}); | |||
var txt = board.create('text', [2, 4, 'xxx']); | |||
/* | /* | ||
Line 24: | Line 27: | ||
e = board.create('point', [function(){ return q2.X()-q.X();}, | e = board.create('point', [function(){ return q2.X()-q.X();}, | ||
function(){ return (q2.Y()-q.Y())/(q2.X()-q.X());}], {style:7,name:'Sekantensteigung',trace:true}); | function(){ return (q2.Y()-q.Y())/(q2.X()-q.X());}], {style:7,name:'Sekantensteigung',trace:true}); | ||
*/ | */ | ||
</jsxgraph> | </jsxgraph> |