Introduction au Calcul Scientifique
ESI CS 1402 - Printemps 2010
Dérivation numérique de sinus
| > | f:=x->sin(x); |
| > | plot(f(x),x=0..7); |
![]() |
| > | fprime:=proc(x) local h; h:=0.1; return((f(x+h)-f(x))/h); end; |
| > | plot({fprime(x),cos(x)},x=0..7); |
![]() |

