Circle approximation: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 1: Line 1:
<jsxgraph width="600" height="600" box="box">
<jsxgraph width="600" height="600" box="box">
var brd = JXG.JSXGraph.initBoard('box', {axis:true, originX: 300, originY: 300, grid:true, unitX: 50, unitY: 50});
var brd = JXG.JSXGraph.initBoard('box', {axis:true, originX: 300, originY: 300, grid:true, unitX: 50, unitY: 50});
var n = brd.createElement('slider',[[1,3],[6,3],[1,10,70]],{name:'n',snapWidth:1});
var n = brd.createElement('slider',[[0,3],[3,3],[1,10,70]],{name:'n',snapWidth:1});


var p0 = brd.createElement('point',[0,0]);
var p0 = brd.createElement('point',[0,0]);
Line 11: Line 11:
===The underlying JavaScript code===
===The underlying JavaScript code===
<source lang="xml">
<source lang="xml">
</jsxgraph></source>
</source>


[[Category:Examples]]
[[Category:Examples]]
[[Category:Calculus]]
[[Category:Calculus]]

Revision as of 09:01, 24 June 2009

The underlying JavaScript code