Anonymous user
Polynomial regression: Difference between revisions
add TI-89 BASIC
(→Tcl: Added implementation) |
(add TI-89 BASIC) |
||
Line 484:
1.0000000000000207 1.9999999999999958 3.0
which is a close approximation to the correct solution.
=={{header|TI-89 BASIC}}==
<lang ti-89>seq(x,x,0,10)→xs
{1,6,17,34,57,86,121,162,209,262,321}→ys
QuadReg xs,ys
Disp regeq(x)</lang>
Output: <code>3.·x<sup>2</sup> + 2.·x + 1.</code>
|