Introduction au Calcul Scientifique
ESI CS 1402 - Printemps 2010
Discretisation d'unne fonction
| > | L:=12.0; Nx:=60; hx:=L/Nx; |
| > | for i from 0 to Nx do u[i,0] := (sin(i*hx)+1)/2; end do; |
| > | with(plots); |
| > | pointplot({seq([i*hx,u[i,0]],i=0..Nx)}); |
![]() |
