Conic sections: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 18: | Line 18: | ||
<jsxgraph width="600" height="400" box="jxgbox3"> | <jsxgraph width="600" height="400" box="jxgbox3"> | ||
var brd3=JXG.JSXGraph.initBoard(' | var brd3=JXG.JSXGraph.initBoard('jxgbox3',{boundingbox:[-3,3,3,-3], keepaspectration:true}); | ||
var A = brd3.create('point',[-1,1]); | var A = brd3.create('point',[-1,1]); | ||
Line 27: | Line 27: | ||
<jsxgraph width="600" height="400" box="jxgbox4"> | <jsxgraph width="600" height="400" box="jxgbox4"> | ||
var brd4=JXG.JSXGraph.initBoard(' | var brd4=JXG.JSXGraph.initBoard('jxgbox4',{boundingbox:[-3,3,3,-3], keepaspectration:true}); | ||
var A = brd4.create('point',[-1,0]); | var A = brd4.create('point',[-1,0]); | ||
Line 36: | Line 36: | ||
<jsxgraph width="600" height="400" box="jxgbox5"> | <jsxgraph width="600" height="400" box="jxgbox5"> | ||
var brd5=JXG.JSXGraph.initBoard(' | var brd5=JXG.JSXGraph.initBoard('jxgbox5',{boundingbox:[-3,3,3,-3], keepaspectration:true}); | ||
var A = brd5.create('point',[-1,1]); | var A = brd5.create('point',[-1,1]); | ||
Line 42: | Line 42: | ||
var line = brd5.create('line',[A,B]); | var line = brd5.create('line',[A,B]); | ||
var C = brd5.create('point',[0,-1]); | var C = brd5.create('point',[0,-1]); | ||
var hyp = brd5.create('parabola',[line | var hyp = brd5.create('parabola',[C,line]); | ||
</jsxgraph> | </jsxgraph> |