SNAP - Maple Programming 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

  

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&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;

a85x1755x937x735x2&plus;97x&plus;50&colon;

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

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

r:=50.0020132327866x419.3198166346740x3322.237747865981x2&plus;300.078717373004x&plus;20.0352085974539

(1)

q

1.07594936708861x12&plus;0.762698285531165x11&plus;0.126714113893626x10&plus;0.295146883006482x90.119722722703335x81.55310796081941x7&plus;1.41800886004233x60.0646951159943636x5&plus;0.0154956351481737x40.0704903789877340x32.55944186458305x2&plus;2.95135053578343x0.507877820382137

(2)

qQuotienta&comma;b&comma;x

q:=1.07594936708861x12&plus;0.762698285531165x11&plus;0.126714113893626x10&plus;0.295146883006482x90.119722722703335x81.55310796081941x7&plus;1.41800886004233x60.0646951159943636x5&plus;0.0154956351481737x40.0704903789877340x32.55944186458305x2&plus;2.95135053578343x0.507877820382137

(3)

expandabqr

7.1054273576010010-14x16&plus;5.3290705182007510-15x155.6843418860808010-14x147.6383344094210810-14x132.8421709430404010-14x121.4210854715202010-14x115.8619775700208310-14x103.0198066269804310-14x88.5265128291212010-14x69.9475983006414010-14x55.6843418860808010-14x17&plus;2.8421709430404010-14x77.8159700933611010-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