Difference between revisions of "Division Command"

From GeoGebra Manual
Jump to: navigation, search
Line 4: Line 4:
 
:Returns the quotient (integer part of the result) and the remainder of the division of the two numbers.
 
:Returns the quotient (integer part of the result) and the remainder of the division of the two numbers.
 
:{{example|1=<div><code><nowiki>Division[16, 3]</nowiki></code> returns ''{5, 1}''.</div>}}
 
:{{example|1=<div><code><nowiki>Division[16, 3]</nowiki></code> returns ''{5, 1}''.</div>}}
 
 
;Division[ <Dividend Polynomial>, <Divisor Polynomial> ]
 
;Division[ <Dividend Polynomial>, <Divisor Polynomial> ]
 
:Returns the quotient and the remainder of the division of the two polynomials.
 
:Returns the quotient and the remainder of the division of the two polynomials.
:{{example|1=<div><code><nowiki>Division[+ 3x + 1, x - 1]</nowiki></code> returns ''{x + 4, 5}''.</div>}}
+
:{{example|1=<div><code><nowiki>Division[x^2 + 3 x + 1, x - 1]</nowiki></code> returns ''{x + 4, 5}''.</div>}}

Revision as of 10:29, 9 September 2011


This command works in CAS View only.

Division[ <Dividend Number>, <Divisor Number> ]
Returns the quotient (integer part of the result) and the remainder of the division of the two numbers.
Example:
Division[16, 3] returns {5, 1}.
Division[ <Dividend Polynomial>, <Divisor Polynomial> ]
Returns the quotient and the remainder of the division of the two polynomials.
Example:
Division[x^2 + 3 x + 1, x - 1] returns {x + 4, 5}.
© 2024 International GeoGebra Institute