compute the quotient of polynomial division - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Numerical Computations : SNAP Package : SNAP/Quotient

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.

• 

The numeric remainder r and numeric quotient q satisfy: bq&plus;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;

a:=85x1755x937x735x2&plus;97x&plus;50&colon;

b:=79x5&plus;56x4&plus;49x3&plus;63x2&plus;57x59&colon;

r:=Remaindera&comma;b&comma;x&comma;&apos;q&apos;

r:=50.0020132327867x419.3198166346742x3322.237747865981x2&plus;300.078717373004x&plus;20.0352085974540

(1)

q

1.07594936708861x12&plus;0.762698285531166x11&plus;0.126714113893627x10&plus;0.295146883006483x90.119722722703336x81.55310796081941x7&plus;1.41800886004233x60.0646951159943627x5&plus;0.0154956351481743x40.0704903789877355x32.55944186458305x2&plus;2.95135053578343x0.507877820382135

(2)

q:=Quotienta&comma;b&comma;x

q:=1.07594936708861x12&plus;0.762698285531166x11&plus;0.126714113893627x10&plus;0.295146883006483x90.119722722703336x81.55310796081941x7&plus;1.41800886004233x60.0646951159943627x5&plus;0.0154956351481743x40.0704903789877355x32.55944186458305x2&plus;2.95135053578343x0.507877820382135

(3)

expandabqr

8.5265128291212010-14x162.8421709430404010-14x159.2370555648813010-14x145.3290705182007510-14x13&plus;1.4210854715202010-14x12&plus;8.5265128291212010-14x114.5297099404706410-14x10&plus;2.6645352591003810-14x81.1368683772161610-13x61.2079226507921710-13x5&plus;1.4210854715202010-14x172.8421709430404010-14x72.1316282072803010-14x9&plus;2.8421709430404010-14x

(4)

See Also

expand, Quo, quo, Rem, rem


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam