Polynomial regression: Difference between revisions
Content added Content deleted
m (→{{header|Perl}}: missing newline (was outputting "const 1.000X 2.000X**2 3.000")) |
PatGarrett (talk | contribs) (→{{header|TI-83 BASIC}}: Add section) |
||
Line 1,950: | Line 1,950: | ||
1.0000000000000207 1.9999999999999958 3.0 |
1.0000000000000207 1.9999999999999958 3.0 |
||
which is a close approximation to the correct solution. |
which is a close approximation to the correct solution. |
||
=={{header|TI-83 BASIC}}== |
|||
<lang ti83b>DelVar X |
|||
seq(X,X,0,10) → L1 |
|||
{1,6,17,34,57,86,121,162,209,262,321} → L2 |
|||
QuadReg L1,L2</lang> |
|||
{{out}} |
|||
<pre>y=ax²+bx+c |
|||
a=3 |
|||
b=2 |
|||
c=1 |
|||
</pre> |
|||
=={{header|TI-89 BASIC}}== |
=={{header|TI-89 BASIC}}== |