Difference between revisions of "Division Command"

From GeoGebra Manual
Jump to: navigation, search
Line 3: Line 3:
 
;Division[ <Dividend Number>, <Divisor Number> ]
 
;Division[ <Dividend Number>, <Divisor Number> ]
 
: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[x² + 3x + 1, x - 1]</nowiki></code> returns  ''{x + 4, 5}''.</div>}}
+
:{{example|1=<div><code><nowiki>Division[x² + 3x + 1, x - 1]</nowiki></code> returns  ''{x + 4, 5}''.</div>}}

Revision as of 10:02, 5 August 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² + 3x + 1, x - 1] returns {x + 4, 5}.
© 2024 International GeoGebra Institute