Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Algorith of fixed point
Message
De
11/04/2004 05:48:04
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Algorith of fixed point
Divers
Thread ID:
00893895
Message ID:
00893895
Vues:
53
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
Fil
Voir

Click here to load this message in the networking platform