Difference between revisions of "Division Command"
From GeoGebra Manual
Line 2: | Line 2: | ||
{{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. |
:{{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. |
+ | :{{example|1=<div><code><nowiki>Division[x^2 + 3 x + 1, x - 1]</nowiki></code> yields ''{x + 4, 5}''.</div>}} | ||
+ | ==CAS Syntax== | ||
+ | ;Division[ <Dividend Number>, <Divisor Number> ] | ||
+ | :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>}} | ||
+ | ;Division[ <Dividend Polynomial>, <Divisor Polynomial> ] | ||
+ | :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 10:31, 19 September 2012
This page is about a feature that is supported only in GeoGebra 4.2. |
- 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}.
CAS Syntax
- 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}.