Affine normalform of parabola: Difference between revisions

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


var a = board.create('slider', [[3,4],  [6,4],  [-4, 1, 4]], {name: 'a'});
var a = board.create('slider', [[3,4],  [6,4],  [-4, 1, 4]], {name: 'a'});
var b = board.create('slider', [[3,3.5],[6,3.5], [-4, 1, 4]], {name: 'b'});
var b = board.create('slider', [[3,3.5],[6,3.5], [-4, 0, 4]], {name: 'b'});
var c = board.create('slider', [[3,3],  [6,3],  [-4, 1, 4]], {name: 'c'});
var c = board.create('slider', [[3,3],  [6,3],  [-4, 0, 4]], {name: 'c'});
var d = board.create('slider', [[3,2.5],[6,2.5], [-4, 1, 4]], {name: 'd'});
var d = board.create('slider', [[3,2.5],[6,2.5], [-4, 1, 4]], {name: 'd'});


Line 16: Line 16:


var y = board.create('point', [
var y = board.create('point', [
             () => x.X() + 2* x.Y() + 1,
             () => a.Value() * x.X() + b.Value() * x.Y(),
             () => x.X() -    x.Y()
             () => c.Value() * x.X() + c.Value() * x.Y()
         ], {name: 'y'});
         ], {name: 'y'});



Revision as of 19:43, 6 June 2021

The underlying JavaScript code