Arc length: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 16: | Line 16: | ||
this.dataY[0] = f(0.0); | this.dataY[0] = f(0.0); | ||
for (i=1;i<m;i++) { | for (i=1;i<m;i++) { | ||
this.dataX. | this.dataX.push(0.0+i*d); | ||
this.dataY. | this.dataY.push(f(0.0+(i-1)*d)); | ||
this.dataX. | this.dataX.push(0.0+i*d); | ||
this.dataY. | this.dataY.push(f(0.0+i*d)); | ||
} | } | ||
} | } |