Approximation of e: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 18: | Line 18: | ||
var n = series.dataX.length, | var n = series.dataX.length, | ||
val = series.dataY[n - 1] + 1 / JXG.Math.factorial(n); | val = series.dataY[n - 1] + 1 / JXG.Math.factorial(n); | ||
series.dataX.push(n); | |||
series.dataY.push(val); | |||
}; | }; | ||