Difference between revisions of "Differentiability"

From JSXGraph Wiki
Jump to: navigation, search
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 fx_0 = board.create('point', [function() { return x0.X(); }, function() { return pol(x0.X()); }], {name: '', color: 'grey', fixed: true, size:3});
+
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});
line = board.create('line',[q,q2],{strokeColor:'#ff0000',dash:2});
 
 
*/
 
*/
 
</jsxgraph>
 
</jsxgraph>

Revision as of 19:40, 21 January 2019