Difference between revisions of "Division Command"
From GeoGebra Manual
m (examples formatting) |
|||
(8 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> |
− | {{command| | + | {{command|algebra}} |
− | ;Division | + | ;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 | + | :{{example|1=<div><code><nowiki>Division(16, 3)</nowiki></code> yields ''{5, 1}''.</div>}} |
− | ;Division | + | ;Division( <Dividend Polynomial>, <Divisor Polynomial> ) |
− | : | + | :Gives the quotient and the remainder of the division of the two polynomials. |
− | :{{example|1=<div><code><nowiki>Division | + | :{{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. | ||
+ | :{{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}.