Systems of differential equations: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 12: Line 12:
var N = brd.create('slider',[[-7,9.5],[7,9.5],[-15,10,15]], {name:'N'});
var N = brd.create('slider',[[-7,9.5],[7,9.5],[-15,10,15]], {name:'N'});
var P1 = brd.create('point',[0,1], {name:'(x_0,y_1)'});
var P1 = brd.create('point',[0,1], {name:'(x_0,y_1)'});
var line = brd.create('line',[function(){return -P1.X();},function(){return 1;},function(){return 0;}]);
var line = brd.create('line',[function(){return -P1.X();},function(){return 1;},function(){return 0;}],{visible:false});
var P2 = brd.create('glider',[0,2,line], {name:'(x_0,y_2)'});
var P2 = brd.create('glider',[0,2,line], {name:'(x_0,y_2)'});



Revision as of 08:43, 21 July 2010

Display solutions of the ordinary differential equation

[math]\displaystyle{ y'= f(x,y) }[/math]

with initial value [math]\displaystyle{ (x_0,y_0) }[/math].

f1(x,y)=
f2(x,y)=