Slider and function plot: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 5: Line 5:
var c = brd.create('slider',[[3,-9],[8,-9],[-5,0,5]], {name:'c'});
var c = brd.create('slider',[[3,-9],[8,-9],[-5,0,5]], {name:'c'});


var f = b.create('functiongraph',[function(x){
var f = brd.create('functiongraph',[function(x){
             return a.Value()*x*x + b.Value()*x + c.Value();
             return a.Value()*x*x + b.Value()*x + c.Value();
         }]);
         }]);

Revision as of 09:17, 12 January 2015