Difference between revisions of "Systems of differential equations"

From JSXGraph Wiki
Jump to navigationJump to search
Line 27: Line 27:
 
}
 
}
  
var g1 = brd.createElement('curve', [[0],[0]], {strokeColor:'red', strokeWidth:'2px', name:'   y_1', withLabel:true});
+
var g1 = brd.createElement('curve', [[0],[0]], {strokeColor:'red', strokeWidth:'2px', name:'<p>y_1', withLabel:true});
var g2 = brd.createElement('curve', [[0],[0]], {strokeColor:'black', strokeWidth:'2px', name:'&nbsp;&nbsp;&nbsp;y_2', withLabel:true});
+
var g2 = brd.createElement('curve', [[0],[0]], {strokeColor:'black', strokeWidth:'2px', name:'<p>y_2', withLabel:true});
 
g1.updateDataArray = function() {
 
g1.updateDataArray = function() {
 
     var data = ode();
 
     var data = ode();

Revision as of 10:53, 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,c_1)[/math], [math](x_0,c_2)[/math].

f1(x,y1,y2)=
f2(x,y1,y2)=