Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Equation
Message
From
25/09/2010 12:57:46
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01482715
Message ID:
01482716
Views:
96
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform