Difference between revisions of "Differentiability"

From JSXGraph Wiki
Jump to navigationJump to search
Line 21: Line 21:
 
var line = board.create('line',[fx0, fx],{strokeColor:'#ff0000',dash:2});
 
var line = board.create('line',[fx0, fx],{strokeColor:'#ff0000',dash:2});
  
var txt = board.create('text', [2, 4, function() { return '\\[ \\frac{' + fx.Y().toFixed(2) + '-' + fx0.().toFixed(2) +'}{' + fx.X().toFixed(2) + '-' + fx0.X().toFixed(2) +'} \\]'}]);
+
var txt = board.create('text', [2, 4, function() {  
 +
        return '\\[ \\frac{' +  
 +
              fx.Y().toFixed(2) + '-' + fx0.Y().toFixed(2) +  
 +
              '}{' +  
 +
              fx.X().toFixed(2) + '-' + fx0.X().toFixed(2) +
 +
              '} \\]';
 +
    }]);
  
 
/*
 
/*

Revision as of 19:48, 21 January 2019