Jump to content

Polynomial long division: Difference between revisions

m (→‎{{header|E}}: Add argument to {{lines too long}}.)
Line 895:
 
This means that <math>-42-12 x^2+x^3</math> divided by <math>-3+x</math> produces <math>-27-9 x+x^2</math> with a remainder of <math>-123</math>.
 
=={{header|Mathematica}}==
<lang Mathematica>PolynomialQuotientRemainder[x^3-12 x^2-42,x-3,x]</lang>
output:
<pre>{-27 - 9 x + x^2, -123}</pre>
 
=={{header|OCaml}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.