Difference between revisions of "QUO"

From iMath
Jump to: navigation, search
(Created page with "{{Keyword | <code>QUO ( expression, expression, variable )</code> <code>QUO ( expression, expression )</code> | Calculate the quotient of two polynomials...")
 
Line 1: Line 1:
 
{{Keyword
 
{{Keyword
 
|
 
|
<code>QUO ( [[expression]], [[expression]], [[variable]] )</code>
+
<code>QUO ( [[expression]], [[expression]], [[symbol]] )</code>
  
 
<code>QUO ( [[expression]], [[expression]] )</code>
 
<code>QUO ( [[expression]], [[expression]] )</code>

Revision as of 14:30, 2 July 2017

Syntax

QUO ( expression, expression, symbol )

QUO ( expression, expression )


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.

The second form is only valid for numerical values. It will calculate the integer quotient.


Example

EQDEF QUO(x^5 - 1, x - 1, x) will give the result x^4 + x^3 + x^2 + x + 1, and EXDEF QUO(3,2) will print 1.

See also

REM