Differential equations: Difference between revisions

From JSXGraph Wiki
(New page: <jsxgraph width="500" height="500"> var brd = JXG.JSXGraph.initBoard('jxgbox', {axis:true, boundingbox:[-5,5,5,-5]}); var P = brd.create('point',[0,0], {name:'x_0'}); var f = function(t,x)...)
 
No edit summary
Line 21: Line 21:
};
};


var g = board.createElement('curve', [[0],[0]], {strokeColor:'red', strokeWidth:'2px'});
var g = brd.createElement('curve', [[0],[0]], {strokeColor:'red', strokeWidth:'2px'});
g.updateDataArray = function() {
g.updateDataArray = function() {
     var data = ode();
     var data = ode();

Revision as of 08:30, 14 July 2010

The underlying JavaScript code