Information générale
Titre:
Algorith of fixed point
hi all,
(algorith of the fixed point.)
i need a program to approximation the fixed point of g(x).
input: p0:initial approximation
n:number of iterations
abs:the error
output: p: the approximation root
message:if somthing rong or the steps is finshed
.....
step1 :i=1
step2 :p=g(p0)
step3 :if i<=n then
if |P-P0| <=abs then
output p. &&stop
else
i=i+1
p0=p
go to step2
else
message
end.
thanks
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement