Difference between revisions of "Division Command"

From GeoGebra Manual
Jump to: navigation, search
m (removed extra CAS syntax)
(command syntax: changed [ ] into ( ))
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=5.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
 
<noinclude>{{Manual Page|version=5.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
 
{{command|algebra}}
 
{{command|algebra}}
;Division[ <Dividend Number>, <Divisor Number> ]
+
;Division( <Dividend Number>, <Divisor Number> )
 
:Gives the quotient (integer part of the result) and the remainder of the division of the two numbers.
 
:Gives 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> yields ''{5, 1}''.</div>}}
+
:{{example|1=<div><code><nowiki>Division(16, 3)</nowiki></code> yields ''{5, 1}''.</div>}}
;Division[ <Dividend Polynomial>, <Divisor Polynomial> ]
+
;Division( <Dividend Polynomial>, <Divisor Polynomial> )
 
:Gives the quotient and the remainder of the division of the two polynomials.
 
:Gives the quotient and the remainder of the division of the two polynomials.
:{{example|1=<div><code><nowiki>Division[x^2 + 3 x + 1, x - 1]</nowiki></code> yields ''{x + 4, 5}''.</div>}}
+
:{{example|1=<div><code><nowiki>Division(x^2 + 3 x + 1, x - 1)</nowiki></code> yields ''{x + 4, 5}''.</div>}}

Revision as of 12:42, 5 October 2017


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