Difference between revisions of "Conic sections in polar form"

From JSXGraph Wiki
Jump to: navigation, search
Line 2: Line 2:
 
var brd = JXG.JSXGraph.initBoard('jxgbox',{axis:true,originX:300,originY:250,unitX:25,unitY:25});
 
var brd = JXG.JSXGraph.initBoard('jxgbox',{axis:true,originX:300,originY:250,unitX:25,unitY:25});
 
var p = brd.createElement('slider',[[2,8],[6,8],[0,3,6]]); brd.createElement('text',[1,8,'p:']);
 
var p = brd.createElement('slider',[[2,8],[6,8],[0,3,6]]); brd.createElement('text',[1,8,'p:']);
var eps = brd.createElement('slider',[[2,7],[6,7],[0,2,6]]); brd.createElement('text',[1,7,'ε:']);
+
var eps = brd.createElement('slider',[[2,7],[6,7],[0,0.5,6]]); brd.createElement('text',[1,7,'ε:']);
 
var len = brd.createElement('slider',[[2,6],[6,6],[0,3,6]]); brd.createElement('text',[1,6,'len:']);
 
var len = brd.createElement('slider',[[2,6],[6,6],[0,3,6]]); brd.createElement('text',[1,6,'len:']);
 
var rho = brd.createElement('slider', [[2,5],[6,5],[0,0,2*Math.PI]]); brd.createElement('text',[1,5,'ρ:']);
 
var rho = brd.createElement('slider', [[2,5],[6,5],[0,0,2*Math.PI]]); brd.createElement('text',[1,5,'ρ:']);

Revision as of 18:22, 10 March 2009