Difference between revisions of "Conic sections"

From JSXGraph Wiki
Jump to: navigation, search
Line 59: Line 59:
 
var brd6=JXG.JSXGraph.initBoard('jxgbox6',{boundingbox:[-3,3,3,-3], keepaspectratio:true});
 
var brd6=JXG.JSXGraph.initBoard('jxgbox6',{boundingbox:[-3,3,3,-3], keepaspectratio:true});
  
var A = brd6.create('point',[-1,1]);
+
var A = brd6.create('point',[0.55,1]);
 
var B = brd6.create('point',[1,1]);
 
var B = brd6.create('point',[1,1]);
 
var C = brd6.create('point',[2,-1]);
 
var C = brd6.create('point',[2,-1]);
 
var D = brd6.create('point',[2,2]);
 
var D = brd6.create('point',[2,2]);
var E = brd6.create('point',[0,-2]);
+
var E = brd6.create('point',[0.3,-2]);
 
var ell = brd6.create('conic',[A,B,C,D,E]);
 
var ell = brd6.create('conic',[A,B,C,D,E]);
 
})();
 
})();
 
</jsxgraph>
 
</jsxgraph>

Revision as of 15:11, 21 March 2010