Arc length: Difference between revisions

From JSXGraph Wiki
No edit summary
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,strokeOpacity:0.2});
var plot = brd.createElement('functiongraph',[f], {strokeWidth:1,strokeOpacity:0.3});
var start = -3.0;
var start = -3.0;
var end = 5.0;
var end = 5.0;

Revision as of 15:35, 11 June 2009

The underlying JavaScript code