Menelaus's theorem: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
JXG.Options.text.fontSize = 24; | JXG.Options.text.fontSize = 24; | ||
var board = JXG.JSXGraph.initBoard("jxgbox", {boundingbox: [-5,5,5,-5], showCopyright:false, showNavigation:false}); | var board = JXG.JSXGraph.initBoard("jxgbox", {boundingbox: [-5,5,5,-5], axis:true, showCopyright:false, showNavigation:false}); | ||
var a = board.create('point', [- | var a = board.create('point', [-1.7, 0], {name:'a'}); | ||
var b = board.create('point', [4, -3], {name:'b'}); | var b = board.create('point', [4, -3], {name:'b'}); | ||
var c = board.create('point', [1, 4], {name:'c'}); | var c = board.create('point', [1, 4], {name:'c'}); | ||
Line 12: | Line 12: | ||
var s2 = board.create('segment', [c, b], {color: 'black'}); | var s2 = board.create('segment', [c, b], {color: 'black'}); | ||
var s3 = board.create('line', [a, b], {color: 'black'}); | var s3 = board.create('line', [a, b], {color: 'black'}); | ||
//var as = board.create('glider', | |||
</jsxgraph> | </jsxgraph> |