Affine normalform of parabola: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) 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, | 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, | 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() + | () => a.Value() * x.X() + b.Value() * x.Y(), | ||
() => x.X() | () => c.Value() * x.X() + c.Value() * x.Y() | ||
], {name: 'y'}); | ], {name: 'y'}); | ||