Differential equations: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
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 12:10, 14 July 2010