Difference between revisions of "Differential equations"

From JSXGraph Wiki
Jump to navigationJump to search
Line 31: Line 31:
 
     this.dataY = [];
 
     this.dataY = [];
 
     for(var i=0; i<data.length; i++) {
 
     for(var i=0; i<data.length; i++) {
         this.dataX[i] = i*h;
+
         this.dataX[i] = P.X()+i*h;
 
         this.dataY[i] = data[i][0];
 
         this.dataY[i] = data[i][0];
 
     }
 
     }

Revision as of 14:10, 14 July 2010

f(t,x)=

The underlying JavaScript code