SNAP[Quotient] - compute the quotient of polynomial division
SNAP[Remainder] - compute the remainder of polynomial division
|
Calling Sequence
|
|
Quotient(a, b, x, 'r')
Remainder(a, b, x, 'q')
|
|
Parameters
|
|
a, b
|
-
|
univariate numeric polynomials in x
|
x
|
-
|
name; indeterminate for a and b
|
'r', 'q'
|
-
|
(optional) unevaluated names; assigned remainder and quotient, respectively
|
|
|
|
|
Description
|
|
•
|
The Quotient command returns the numeric quotient of a divided by b.
|
•
|
The Remainder command returns the numeric remainder of a divided by b.
|
•
|
If a fourth argument is included in the calling sequence for Quotient or Remainder, it is assigned the remainder r or quotient q, respectively.
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
|
|
Download Help Document
Was this information helpful?