Robert M. Corless
Department of Applied Mathematics
University of Western Ontario
London, Canada

Copyright 2001 by Robert M. Corless
All rights reserved

Useful one-word commands 

Использование монокоманд

Packages in Maple 

Пакеты в Maple

numapprox 

Пакет numapprox

> with( numapprox );

> ?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' );

> maxerror;

.20837906e-6

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

С официального разрешения                    © 2002 Waterloo Maple, Inc

 
Hosted by uCoz