Close
Close window
Quotient - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

SNAP

Quotient

compute the quotient of polynomial division

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.

The numeric remainder r and numeric quotient q satisfy: bq+ar is small with degreer&comma;x<degreeb&comma;x. Here, small means O10Digits.

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

>

withSNAP&colon;

>

a85x1755x937x735x2+97x+50&colon;

>

b79x5+56x4+49x3+63x2+57x59&colon;

>

rRemaindera&comma;b&comma;x&comma;q

r50.0020132327865x419.3198166346741x3322.237747865981x2+300.078717373004x+20.0352085974539

(1)
>

q

1.07594936708861x12+0.762698285531165x11+0.126714113893627x10+0.295146883006482x90.119722722703335x81.55310796081941x7+1.41800886004233x60.0646951159943633x5+0.0154956351481729x40.0704903789877340x32.55944186458305x2+2.95135053578343x0.507877820382137

(2)
>

qQuotienta&comma;b&comma;x

q1.07594936708861x12+0.762698285531165x11+0.126714113893627x10+0.295146883006482x90.119722722703335x81.55310796081941x7+1.41800886004233x60.0646951159943633x5+0.0154956351481729x40.0704903789877340x32.55944186458305x2+2.95135053578343x0.507877820382137

(3)
>

expandabqr

5.68434188608080×10−14x125.06261699229071×10−14x10+2.66453525910038×10−15x81.42108547152020×10−13x69.94759830064140×10−14x55.68434188608080×10−14x72.84217094304040×10−14x94.26325641456060×10−14x175.68434188608080×10−14x165.32907051820075×10−15x153.55271367880050×10−14x146.03961325396085×10−14x13

(4)

See Also


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /