Difference between revisions of "Div Command"

From GeoGebra Manual
Jump to: navigation, search
(command syntax: changed [ ] into ( ))
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.0}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|algebra}}
{{command|algebra}}
+
;Div( <Dividend Number>, <Divisor Number> )
;Div[ <Dividend Number>, <Divisor Number> ]
+
:Returns the quotient (integer part of the result) of the two numbers.
: Returns the quotient (integer part of the result) of the two numbers.
+
:{{example|1=<div><code><nowiki>Div(16, 3)</nowiki></code> yields ''5''.</div>}}
: {{Example|1= <code>Div[16,3]</code> returns ''5''.}}
+
;Div( <Dividend Polynomial>, <Divisor Polynomial> )
 
+
:Returns the quotient of the two polynomials.
;Div[ <Dividend Polynomial>, <Dividend Polynomial> ]
+
:{{example|1=<div><code><nowiki>Div(x^2 + 3 x + 1, x - 1)</nowiki></code> yields ''f(x) = x + 4''.</div>}}
: Returns the quotient of the two polynomials.
 
: {{Example|1= <code>Div[x² + 3x + 1, x - 1]</code> returns the expression ''f(x) = x + 4''.}}
 
 
 
==CAS view==
 
;Div[ <Dividend Polynomial>, <Dividend Polynomial> ]
 
: Returns the quotient of the two polynomials.
 
: {{Example|1= <code>Div[x² + 3x + 1, x - 1]</code> returns the expression ''x + 4''.}}
 

Latest revision as of 12:41, 5 October 2017


Div( <Dividend Number>, <Divisor Number> )
Returns the quotient (integer part of the result) of the two numbers.
Example:
Div(16, 3) yields 5.
Div( <Dividend Polynomial>, <Divisor Polynomial> )
Returns the quotient of the two polynomials.
Example:
Div(x^2 + 3 x + 1, x - 1) yields f(x) = x + 4.
© 2024 International GeoGebra Institute