Conic sections: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<jsxgraph width="600" height="400" box="jxgbox1"> | <jsxgraph width="600" height="400" box="jxgbox1"> | ||
var brd1=JXG.JSXGraph.initBoard('jxgbox1',{boundingbox:[-3,3,3,-3], | var brd1=JXG.JSXGraph.initBoard('jxgbox1',{boundingbox:[-3,3,3,-3], keepaspectratio:true}); | ||
var A = brd1.create('point',[-1,1]); | var A = brd1.create('point',[-1,1]); | ||
Line 9: | Line 9: | ||
<jsxgraph width="600" height="400" box="jxgbox2"> | <jsxgraph width="600" height="400" box="jxgbox2"> | ||
var brd2=JXG.JSXGraph.initBoard('jxgbox2',{boundingbox:[-3,3,3,-3], | var brd2=JXG.JSXGraph.initBoard('jxgbox2',{boundingbox:[-3,3,3,-3], keepaspectratio:true}); | ||
var A = brd2.create('point',[-1,0]); | var A = brd2.create('point',[-1,0]); | ||
Line 18: | Line 18: | ||
<jsxgraph width="600" height="400" box="jxgbox3"> | <jsxgraph width="600" height="400" box="jxgbox3"> | ||
var brd3=JXG.JSXGraph.initBoard('jxgbox3',{boundingbox:[-3,3,3,-3], | var brd3=JXG.JSXGraph.initBoard('jxgbox3',{boundingbox:[-3,3,3,-3], keepaspectratio:true}); | ||
var A = brd3.create('point',[ | var A = brd3.create('point',[0,1]); | ||
var B = brd3.create('point',[1,1]); | var B = brd3.create('point',[1,1]); | ||
var C = brd3.create('point',[0,-1]); | var C = brd3.create('point',[0,-1]); | ||
Line 27: | Line 27: | ||
<jsxgraph width="600" height="400" box="jxgbox4"> | <jsxgraph width="600" height="400" box="jxgbox4"> | ||
var brd4=JXG.JSXGraph.initBoard('jxgbox4',{boundingbox:[-3,3,3,-3], | var brd4=JXG.JSXGraph.initBoard('jxgbox4',{boundingbox:[-3,3,3,-3], keepaspectratio:true}); | ||
var A = brd4.create('point',[-1,0]); | var A = brd4.create('point',[-1,0]); | ||
var B = brd4.create('point',[1,0]); | var B = brd4.create('point',[1,0]); | ||
var s = brd4.create('slider',[[-1,-2],[1,-2],[0,5, | var s = brd4.create('slider',[[-1,-2],[1,-2],[0,0.5,1]]); | ||
var hyp = brd4.create('hyperbola',[A,B,function(){return s.Value();}]); | var hyp = brd4.create('hyperbola',[A,B,function(){return s.Value();}]); | ||
</jsxgraph> | </jsxgraph> | ||
<jsxgraph width="600" height="400" box="jxgbox5"> | <jsxgraph width="600" height="400" box="jxgbox5"> | ||
var brd5=JXG.JSXGraph.initBoard('jxgbox5',{boundingbox:[-3,3,3,-3], | var brd5=JXG.JSXGraph.initBoard('jxgbox5',{boundingbox:[-3,3,3,-3], keepaspectratio:true}); | ||
var A = brd5.create('point',[-1,1]); | var A = brd5.create('point',[-1,1]); |