Arc length: Difference between revisions

From JSXGraph Wiki
(New page: <jsxgraph width="800" height="400" box="box"> var brd = JXG.JSXGraph.initBoard('box', {axis:true, originX: 400, originY: 200, grid:true, unitX: 50, unitY: 50}); var n = brd.createElement('...)
 
No edit summary
Line 1: Line 1:
<jsxgraph width="800" height="400" box="box">
<jsxgraph width="800" height="400" box="box">
var brd = JXG.JSXGraph.initBoard('box', {axis:true, originX: 400, originY: 200, grid:true, unitX: 50, unitY: 50});
var brd = JXG.JSXGraph.initBoard('box', {axis:true, originX: 400, originY: 300, grid:true, unitX: 50, unitY: 50});
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 Math.sin(x)*Math.sin(x)+3.0; }
var f = function(x){ return (Math.sin(x)+1.0)*(Math.sin(x)+1.0); }
var plot = brd.createElement('functiongraph',[f]);
var plot = brd.createElement('functiongraph',[f]);



Revision as of 12:33, 7 June 2009

The underlying JavaScript code