tp2
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
function y = pointFixe(x0,n)
|
||||
y = x0;
|
||||
for i = 1:n
|
||||
y = // A completer
|
||||
end
|
||||
endfunction
|
||||
@@ -0,0 +1,6 @@
|
||||
function err = pointFixeErreur(x0)
|
||||
for i=1:50
|
||||
y = pointFixe(x0,i)
|
||||
err(i) = // A completer
|
||||
end
|
||||
endfunction
|
||||
@@ -0,0 +1,4 @@
|
||||
function ratio = pointFixeVitesseConvergence(x0)
|
||||
err = pointFixeErreur(x0);
|
||||
ratio = // TODO
|
||||
endfunction
|
||||
Reference in New Issue
Block a user