Difference between revisions of "Conic sections"

From JSXGraph Wiki
Jump to: navigation, search
(New page: <jsxgraph width="600" height="400" box="jxgbox1"> var brd1=JXG.JSXGraph.initBoard('jxgbox1',{boundingbox:[-3,3,3,-3], keepaspectration:true}); var A = brd1.create('point',[-2,2]); var B =...)
 
Line 2: Line 2:
 
var brd1=JXG.JSXGraph.initBoard('jxgbox1',{boundingbox:[-3,3,3,-3], keepaspectration:true});
 
var brd1=JXG.JSXGraph.initBoard('jxgbox1',{boundingbox:[-3,3,3,-3], keepaspectration:true});
  
var A = brd1.create('point',[-2,2]);
+
var A = brd1.create('point',[-2,1]);
var B = brd1.create('point',[1,2]);
+
var B = brd1.create('point',[1,1]);
var C = brd1.create('point',[0,0]);
+
var C = brd1.create('point',[0,-1]);
 
var ell = brd1.create('ellipse',[A,B,C]);
 
var ell = brd1.create('ellipse',[A,B,C]);
 
</jsxgraph>
 
</jsxgraph>
  
 
<jsxgraph width="600" height="400" box="jxgbox2">
 
<jsxgraph width="600" height="400" box="jxgbox2">
var brd2=JXG.JSXGraph.initBoard('jxgbox1',{boundingbox:[-3,3,3,-3], keepaspectration:true});
+
var brd2=JXG.JSXGraph.initBoard('jxgbox2',{boundingbox:[-3,3,3,-3], keepaspectration:true});
  
 
var A = brd2.create('point',[-2,2]);
 
var A = brd2.create('point',[-2,2]);

Revision as of 14:48, 21 March 2010