Barycenter: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 6: Line 6:
var board = JXG.JSXGraph.initBoard("jxgbox", {boundingbox: [-2,7,7,-2], axis: true, showCopyright:false, showNavigation:false});
var board = JXG.JSXGraph.initBoard("jxgbox", {boundingbox: [-2,7,7,-2], axis: true, showCopyright:false, showNavigation:false});


var p0s = board.create('point', [2, 1], {name:'p_0'});
var p0s = board.create('point', [2, 1], {name:"p_0'"});
var p1s = board.create('point', [4, 4], {name:'p_1'});
var p1s = board.create('point', [4, 4], {name:"p_1'"});
var p2s = board.create('point', [1, 2], {name:'p_2'});
var p2s = board.create('point', [1, 2], {name:"p_2'"});





Revision as of 19:36, 9 May 2021


The underlying JavaScript code