Quotient - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


SNAP

  

Quotient

  

compute the quotient of polynomial division

  

Remainder

  

compute the remainder of polynomial division

 

Calling Sequence

Parameters

Description

Examples

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.0020132327863x419.3198166346744x3322.237747865981x2+300.078717373004x+20.0352085974540

(1)

q

1.07594936708861x12+0.762698285531166x11+0.126714113893627x10+0.295146883006482x90.119722722703336x81.55310796081941x7+1.41800886004233x60.0646951159943631x5+0.0154956351481713x40.0704903789877349x32.55944186458305x2+2.95135053578343x0.507877820382136

(2)

qQuotienta&comma;b&comma;x

q1.07594936708861x12+0.762698285531166x11+0.126714113893627x10+0.295146883006482x90.119722722703336x81.55310796081941x7+1.41800886004233x60.0646951159943631x5+0.0154956351481713x40.0704903789877349x32.55944186458305x2+2.95135053578343x0.507877820382136

(3)

expandabqr

1.42108547152020×10−14x12+1.42108547152020×10−14x119.76996261670138×10−15x10+3.99680288865056×10−14x81.13686837721616×10−13x67.81597009336110×10−14x165.68434188608080×10−14x152.13162820728030×10−14x14+1.77635683940025×10−15x131.35003119794419×10−13x51.42108547152020×10−14x17+2.84217094304040×10−14x7+5.68434188608080×10−14x9+2.84217094304040×10−14x

(4)

See Also

expand

Quo

quo

Rem

rem