Polynomial regression: Difference between revisions

m (→‎{{header|Perl}}: missing newline (was outputting "const 1.000X 2.000X**2 3.000"))
Line 1,950:
1.0000000000000207 1.9999999999999958 3.0
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}}==
1,392

edits