Comandos Úteis e Simples
Seção 2.8: Os Pacotes do Maple
Session 2.8.2: numapprox
| > | with( numapprox ); |
| > | ?minimax |
| > | assume( n > 0 ); |
| > | F := int( 1/(1+x^n), x=0..t ); |
| > | f3 := eval( F, n=3 ); |
| > | Digits := trunc( evalhf(Digits) ); |
| > | f3approx := minimax( f3, 0..1, [5,5], 1, 'maxerror' ); |
| > | maxerror; |
| > | plot( f3-f3approx(t), t=0..1 ); |
| > |