Difference between revisions of "Division Command"
From GeoGebra Manual
(Add info on multivariable division.) |
m (examples formatting) |
||
Line 7: | Line 7: | ||
: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>}} | ||
− | {{Note| In the Algebra View only one variable can be used and it will always be renamed to x. In the CAS View multivariable division is also supported. | + | {{Note| In the ''Algebra View'' only one variable can be used and it will always be renamed to ''x''. In the ''CAS View'' multivariable division is also supported. |
− | :{{ | + | :{{examples|1=<div> |
− | : | + | :*<code><nowiki>Division(x^2+y^2, x+y)</nowiki></code> yields ''{x - y, 2y^2}''. |
+ | :*<code><nowiki>Division(x^2+y^2, y+x)</nowiki></code> yields ''{y - x, 2x^2}''.</div>}} | ||
}} | }} |
Latest revision as of 09:06, 25 June 2019
- 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}.
Note: In the Algebra View only one variable can be used and it will always be renamed to x. In the CAS View multivariable division is also supported.
- Examples:
Division(x^2+y^2, x+y)
yields {x - y, 2y^2}.Division(x^2+y^2, y+x)
yields {y - x, 2x^2}.