Difference between revisions of "Division Command"
From GeoGebra Manual
(added missing descriptions and examples) |
|||
Line 1: | Line 1: | ||
− | |||
<noinclude>{{Manual Page|version=4.0}}</noinclude> | <noinclude>{{Manual Page|version=4.0}}</noinclude> | ||
{{command|CAS}} | {{command|CAS}} | ||
;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= <code>Division(16,3)</code> returns ''{5,1}''.}} | + | : {{Example|1=<div><code><nowiki>Division(16,3)</nowiki></code> returns ''{5,1}''.</div>}} |
− | ;Division[ <Dividend 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= <code>Division[x² + 3x + 1, x - 1]</code> returns ''{x + 4, 5}''.}} | + | :{{Example|1=<div><code><nowiki>Division[x² + 3x + 1, x - 1]</nowiki></code> returns ''{x + 4, 5}''.</div>}} |
Revision as of 09:58, 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}.