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], axis: | var board = JXG.JSXGraph.initBoard("jxgbox", {boundingbox: [-5,5,5,-5], axis:false, showCopyright:false, showNavigation:false}); | ||
var a = board.create('point', [-1.7, 0], {name:'a'}); | var a = board.create('point', [-1.7, 0], {name:'a'}); | ||
Line 23: | Line 23: | ||
}; | }; | ||
var txt = board.create('text', [-4.5, - | var txt = board.create('text', [-4.5, -4, function() { | ||
return "TV(a',c,b) * TV(b',a,c) * TV(c',b,a) = " + (TV(as,c,b)*TV(bs,a,c)*TV(cs,b,a)).toFixed(2); }]); | return "TV(a',c,b) * TV(b',a,c) * TV(c',b,a) = " + (TV(as,c,b)*TV(bs,a,c)*TV(cs,b,a)).toFixed(2); }]); | ||
</jsxgraph> | </jsxgraph> | ||