Difference between revisions of "Differential equations"

From JSXGraph Wiki
Jump to navigationJump to search
(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)...)
 
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 09:30, 14 July 2010

The underlying JavaScript code