Difference between revisions of "Div Command"

From GeoGebra Manual
Jump to: navigation, search
Line 2: Line 2:
 
{{command|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= <code>Div[16,3]</code> returns ''5''.}}
+
:{{Example|1=<div><code><nowiki>Div[16,3]</nowiki></code> returns ''5''.</div>}}
  
 
;Div[ <Dividend Polynomial>, <Dividend Polynomial> ]
 
;Div[ <Dividend Polynomial>, <Dividend Polynomial> ]
 
: Returns the quotient of the two polynomials.
 
: Returns the quotient of the two polynomials.
: {{Example|1= <code>Div[x² + 3x + 1, x - 1]</code> returns the expression ''f(x) = x + 4''.}}
+
:{{Example|1=<div><code><nowiki>Div[x² + 3x + 1, x - 1]</nowiki></code> returns the expression ''f(x) = x + 4''.</div>}}
 +
 
 +
==CAS Syntax==
 +
;Div[ <Dividend Number>, <Divisor Number> ]
 +
:Returns the quotient (integer part of the result) of the two numbers.
 +
:{{Example|1=<div><code><nowiki>Div[16,3]</nowiki></code> returns ''5''.</div>}}
  
==CAS view==
 
 
;Div[ <Dividend Polynomial>, <Dividend Polynomial> ]
 
;Div[ <Dividend Polynomial>, <Dividend Polynomial> ]
: Returns the quotient of the two polynomials.
+
:Returns the quotient of the two polynomials.
: {{Example|1= <code>Div[x² + 3x + 1, x - 1]</code> returns the expression ''x + 4''.}}
+
:{{Example|1=<div><code><nowiki>Div[x² + 3x + 1, x - 1]</nowiki></code> returns the expression ''f(x) = x + 4''.</div>}}

Revision as of 15:18, 4 August 2011



Div[ <Dividend Number>, <Divisor Number> ]
Returns the quotient (integer part of the result) of the two numbers.
Example:
Div[16,3] returns 5.


Div[ <Dividend Polynomial>, <Dividend Polynomial> ]
Returns the quotient of the two polynomials.
Example:
Div[x² + 3x + 1, x - 1] returns the expression f(x) = x + 4.


CAS Syntax

Div[ <Dividend Number>, <Divisor Number> ]
Returns the quotient (integer part of the result) of the two numbers.
Example:
Div[16,3] returns 5.


Div[ <Dividend Polynomial>, <Dividend Polynomial> ]
Returns the quotient of the two polynomials.
Example:
Div[x² + 3x + 1, x - 1] returns the expression f(x) = x + 4.
© 2024 International GeoGebra Institute