Mod Command

From GeoGebra Manual
Revision as of 14:07, 3 May 2013 by JohannaZ (talk | contribs)
Jump to: navigation, search



Mod[ <Dividend Number>, <Divisor Number> ]
Yields the remainder when dividend number is divided by divisor number.
Example: Mod[9, 4] yields 1.
Mod[ <Dividend Polynomial>, <Divisor Polynomial> ]
Yields the remainder when the dividend polynomial is divided by the divisor polynomial.
Example: Mod[x^3 + x^2 + x + 6, x^2 - 3] yields 4 x + 9.

CAS Syntax

Mod[ <Dividend Number>, <Divisor Number> ]
Yields the remainder when dividend number is divided by divisor number.
Example: Mod[9, 4] yields 1.
Mod[ <Dividend Polynomial>, <Divisor Polynomial> ]
Yields the remainder when the dividend polynomial is divided by the divisor polynomial.
Example: Mod[x^3 + x^2 + x + 6, x^2 - 3] yields 4 x + 9.
© 2024 International GeoGebra Institute