Difference between revisions of "Systems of differential equations"
From JSXGraph Wiki
Jump to navigationJump to searchA WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||
Line 27: | Line 27: | ||
} | } | ||
− | var g1 = brd.createElement('curve', [[0],[0]], {strokeColor:'red', strokeWidth:'2px'}); | + | var g1 = brd.createElement('curve', [[0],[0]], {strokeColor:'red', strokeWidth:'2px', name:'y_1'}); |
− | var g2 = brd.createElement('curve', [[0],[0]], {strokeColor:'black', strokeWidth:'2px'}); | + | var g2 = brd.createElement('curve', [[0],[0]], {strokeColor:'black', strokeWidth:'2px', name:'y_2'}); |
g1.updateDataArray = function() { | g1.updateDataArray = function() { | ||
var data = ode(); | var data = ode(); |
Revision as of 10:51, 21 July 2010
Display solutions of the ordinary differential equation
- [math] y_1'= f_1(x,y_1,y_2)[/math]
- [math] y_2'= f_2(x,y_1,y_2)[/math]
with initial values [math](x_0,y_1)[/math], [math](x_0,y_2)[/math].