SlideShare a Scribd company logo
1
                                           2
                                           3
                                           4
                                           5
                                           6
                                           7
                                           8
                                           9
                                          10
                                          11
                                          12
                                          13
                                          14
                                          15
                                          16
                                          17
function[p,res,iter]=pfixe(x0,eps,nmax)
x=x0;
phix=phi(x);
iter=0;
err=abs(phix-x);
while(err>eps)&(iter<=nmax)
     iter=iter+1;
     x=phix;
     phix=phi(x);
end;
if iter>nmax
     disp('convergence non atteint');
else
     p=x;
     res=phix-x;
     disp('convergence atteint');
end

More Related Content

Viewers also liked

SADATH CV 1ST PAGE
SADATH CV 1ST PAGESADATH CV 1ST PAGE
SADATH CV 1ST PAGE
SADATH TK
 
Raspberry souffle
Raspberry souffleRaspberry souffle
Raspberry souffle
Merlin Cottage Kitchen
 
Stationary LAB M11 Certificate
Stationary LAB M11 CertificateStationary LAB M11 Certificate
Stationary LAB M11 CertificateGIFT NUMWA
 
Tuille biscuits
Tuille biscuitsTuille biscuits
Tuille biscuits
Merlin Cottage Kitchen
 
Quality technologies iso 9001
Quality technologies iso 9001Quality technologies iso 9001
Quality technologies iso 9001
Alvin Sr
 
Resumen libro
Resumen libroResumen libro
Resumen libro
Lorena Arcis
 
Yorkshire puddings
Yorkshire puddingsYorkshire puddings
Yorkshire puddings
Merlin Cottage Kitchen
 
british open online
british open onlinebritish open online
british open online
johnsonrene33
 

Viewers also liked (11)

SADATH CV 1ST PAGE
SADATH CV 1ST PAGESADATH CV 1ST PAGE
SADATH CV 1ST PAGE
 
Raspberry souffle
Raspberry souffleRaspberry souffle
Raspberry souffle
 
JU-Radio_2013
JU-Radio_2013JU-Radio_2013
JU-Radio_2013
 
IPK Page 2 New
IPK Page 2 NewIPK Page 2 New
IPK Page 2 New
 
Stationary LAB M11 Certificate
Stationary LAB M11 CertificateStationary LAB M11 Certificate
Stationary LAB M11 Certificate
 
Tuille biscuits
Tuille biscuitsTuille biscuits
Tuille biscuits
 
Quality technologies iso 9001
Quality technologies iso 9001Quality technologies iso 9001
Quality technologies iso 9001
 
Resumen libro
Resumen libroResumen libro
Resumen libro
 
Blank
BlankBlank
Blank
 
Yorkshire puddings
Yorkshire puddingsYorkshire puddings
Yorkshire puddings
 
british open online
british open onlinebritish open online
british open online
 

1

  • 1. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 function[p,res,iter]=pfixe(x0,eps,nmax) x=x0; phix=phi(x); iter=0; err=abs(phix-x); while(err>eps)&(iter<=nmax) iter=iter+1; x=phix; phix=phi(x); end; if iter>nmax disp('convergence non atteint'); else p=x; res=phix-x; disp('convergence atteint'); end