Affine normalform of parabola: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 13: Line 13:


var Q3 = board.create('functiongraph', ['x^2']);
var Q3 = board.create('functiongraph', ['x^2']);
var x = board.create('glider', [2, 4, Q3], {name:'x'});
var x = board.create('glider', [2, 4, Q3], {name:'x', trace:true});
var t = board.create('point', [1, 0], {name:'t'});
var t = board.create('point', [1, 0], {name:'t'});
board.create('arrow', [[0,0], t]);
board.create('arrow', [[0,0], t]);
Line 20: Line 20:
             () => a.Value() * x.X() + b.Value() * x.Y() + t.X(),
             () => a.Value() * x.X() + b.Value() * x.Y() + t.X(),
             () => c.Value() * x.X() + d.Value() * x.Y() + t.Y()
             () => c.Value() * x.X() + d.Value() * x.Y() + t.Y()
         ], {name: 'y'});
         ], {name: 'y', color:'orange', trace: true});


</jsxgraph>
</jsxgraph>

Revision as of 19:48, 6 June 2021

The underlying JavaScript code