# Difference between revisions of "Conic sections"

From JSXGraph Wiki

A WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||

Line 52: | Line 52: | ||

var C = brd5.create('point',[0,-1]); | var C = brd5.create('point',[0,-1]); | ||

var hyp = brd5.create('parabola',[C,line]); | var hyp = brd5.create('parabola',[C,line]); | ||

+ | })(); | ||

+ | </jsxgraph> | ||

+ | |||

+ | <jsxgraph width="600" height="400" box="jxgbox6"> | ||

+ | (function(){ | ||

+ | var brd6=JXG.JSXGraph.initBoard('jxgbox6',{boundingbox:[-3,3,3,-3], keepaspectratio:true}); | ||

+ | |||

+ | var A = brd6.create('point',[-1,1]); | ||

+ | var B = brd6.create('point',[1,1]); | ||

+ | var C = brd6.create('point',[2,-1]); | ||

+ | var D = brd6.create('point',[2,1]); | ||

+ | var E = brd6.create('point',[0,1]); | ||

+ | var ell = brd6.create('conic',[A,B,C]); | ||

})(); | })(); | ||

</jsxgraph> | </jsxgraph> |