# Difference between revisions of "Discontinuous derivative"

From JSXGraph Wiki

Jump to navigationJump to searchA WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||

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 f = board.create('functiongraph', ["x^2*sin(1/x)"]); | + | var f = board.create('functiongraph', ["x^2*sin(1/x)"], {strokeWidth:2}); |

− | var g = board.create('functiongraph', ["2*sin(1/x) - cos(1/x)"]); | + | var g = board.create('functiongraph', ["2*sin(1/x) - cos(1/x)"], {strokeColor: 'red'}); |

</jsxgraph> | </jsxgraph> | ||

## Revision as of 10:53, 13 February 2019

Consider the function