Difference between revisions of "Affine normalform of parabola"

From JSXGraph Wiki
Jump to navigationJump to search
Line 5: Line 5:
 
JXG.Options.line.strokeWidth = 1;
 
JXG.Options.line.strokeWidth = 1;
  
var board = JXG.JSXGraph.initBoard('jxgbox', { boundingbox: [-5, 5, 5, -5], axis: true});
+
var board = JXG.JSXGraph.initBoard('jxgbox', { boundingbox: [-2, 5, 8, -5], axis: true});
  
 
var a = board.create('slider', [[0,4],  [3,4],  [-4, 1, 4]], {name: 'a'});
 
var a = board.create('slider', [[0,4],  [3,4],  [-4, 1, 4]], {name: 'a'});
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], {name:'x'});
+
var x = board.create('glider', [2, 4, Q3], {name:'x'});
  
  

Revision as of 21:38, 6 June 2021

The underlying JavaScript code