Arc length: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
var n = brd.createElement('slider',[[1,3],[5,3],[1,10,50]],{name:'n'}); | var n = brd.createElement('slider',[[1,3],[5,3],[1,10,50]],{name:'n'}); | ||
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], {strokeWidth:1, | var plot = brd.createElement('functiongraph',[f], {strokeWidth:1,strokeOpacity:0.2}); | ||
var start = -3.0; | var start = -3.0; | ||
var end = 5.0; | var end = 5.0; |