Polynomial regression: Difference between revisions
Content added Content deleted
No edit summary |
(Emacs Lisp: Fix formatting, avoid use of format) |
||
Line 746: | Line 746: | ||
=={{header|Emacs Lisp}}== |
=={{header|Emacs Lisp}}== |
||
<libheader|Calc> |
|||
Simple solution by Emacs Lisp and built-in Emacs Calc. |
|||
⚫ | |||
⚫ | |||
<lang emacs-lisp> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
(calc-eval |
|||
⚫ | |||
</lang> |
|||
{{out}} |
{{out}} |
||
<pre> |
|||
"3. x^2 + 1.99999999996 x + 1.00000000006" |
"3. x^2 + 1.99999999996 x + 1.00000000006" |
||
</pre> |
|||
=={{header|Fortran}}== |
=={{header|Fortran}}== |