Arc length: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
var f = function(x){ return 0.2*x*x+2.0*Math.sin(x); } | var f = function(x){ return 0.2*x*x+2.0*Math.sin(x); } | ||
var plot = brd.createElement('functiongraph',[f]); | var plot = brd.createElement('functiongraph',[f]); | ||
var start -1.0; | var start = -1.0; | ||
var end = 5.0; | var end = 5.0; | ||
var sc = brd.createElement('curve',[[0],[0]]); | var sc = brd.createElement('curve',[[0],[0]]); |