QUO: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Keyword | <code>QUO ( expression, expression, variable )</code> <code>QUO ( expression, expression )</code> | Calculate the quotient of two polynomials...") |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Keyword | {{Keyword | ||
| | | | ||
<code>QUO ( [[expression]], [[expression]], [[ | <code>QUO ( [[expression]], [[expression]], [[symbol]] )</code> | ||
| | | | ||
Calculate the quotient of two polynomials in the given variable. An error message will be shown if one of the expressions is not a polynomial in the variable. | Calculate the quotient of two polynomials in the given variable. An error message will be shown if one of the expressions is not a polynomial in the variable. | ||
To calculate the integer quotient, use the <code>iquo</code> function. | |||
| | | | ||
3= | 3= | ||
<code> | <code>EXDEF QUO(x^5 - 1, x - 1, x)</code> will give the result <code>x^4 + x^3 + x^2 + x + 1</code>. | ||
| | | | ||
4= | 4= |
Latest revision as of 15:17, 2 March 2025
Syntax
QUO ( expression, expression, symbol )
Implemented in iMath since version 2.2.0 or earlier.
Explanation
Calculate the quotient of two polynomials in the given variable. An error message will be shown if one of the expressions is not a polynomial in the variable.
To calculate the integer quotient, use the iquo
function.
Example
EXDEF QUO(x^5 - 1, x - 1, x)
will give the result x^4 + x^3 + x^2 + x + 1
.