Difference between revisions of "Discontinuous derivative"

From JSXGraph Wiki
Jump to: navigation, search
Line 4: Line 4:
 
var board = JXG.JSXGraph.initBoard('jxgbox', {axis:true, boundingbox:[-1/2,1/2,1/2,-1/2]});
 
var board = JXG.JSXGraph.initBoard('jxgbox', {axis:true, boundingbox:[-1/2,1/2,1/2,-1/2]});
  
 +
var g = board.create('functiongraph', ["2*sin(1/x) - cos(1/x)"], {strokeColor: 'red'});
 
var f = board.create('functiongraph', ["x^2*sin(1/x)"], {strokeWidth:2});
 
var f = board.create('functiongraph', ["x^2*sin(1/x)"], {strokeWidth:2});
var g = board.create('functiongraph', ["2*sin(1/x) - cos(1/x)"], {strokeColor: 'red'});
 
 
</jsxgraph>
 
</jsxgraph>
  

Revision as of 09:54, 13 February 2019

Consider the function

The underlying JavaScript code