MAnual Maple 2.8.2.mws

Comandos Úteis e Simples

Seção 2.8: Os Pacotes do Maple

Session 2.8.2: numapprox

>    with( numapprox );

[chebdeg, chebmult, chebpade, chebsort, chebyshev, confracform, hermite_pade, hornerform, infnorm, laurent, minimax, pade, remez]

>    ?minimax

>    assume( n > 0 );

>    F := int( 1/(1+x^n), x=0..t );

F := 1/n*t*LerchPhi(-t^n,1,1/n)

>    f3 := eval( F, n=3 );

f3 := 1/3*t*LerchPhi(-t^3,1,1/3)

>    Digits := trunc( evalhf(Digits) );

Digits := 14

>    f3approx := minimax( f3, 0..1, [5,5], 1, 'maxerror' );

f3approx := proc (x) options operator, arrow; (.280437504e-6+(1.3457701073709+(-1.2630289578807+(.95862028992109-.38663694199434*x)*x)*x)*x)/(1.3458133661670+(-1.2641467040383+(.96980628529424+(-.10602...

>    maxerror;

.20837906e-6

>    plot( f3-f3approx(t), t=0..1 );

[Maple Plot]

>