Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Equation
Message
De
25/09/2010 12:57:46
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01482715
Message ID:
01482716
Vues:
95
>I tried to solve some equations in VFP, but I realised that it can not solve simple equations as below ?
>
> 533.61 = v / 2^3
>
> ? v
>
>" variable not found"
>
>Is there any rule to solve equations with VFP ?

The short and simple answer is no, there is no way to do this in VFP. You must wipe the dust off your old algebra skills. :-)

533.61=v/2^3
v=533.61*2^3
In VFP: v=533.61*2**3

A computer can not understand an equation directly, so with VFP you must convert the equation yourself. Since equations are frequently used by scientists, IBM created the computer language Fortran, short for Formula Translating System, in the 1950s. Fortran is still in use by scientists.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform