>>

0

>>

1

>>

2

>>

3

>>

4

>>

>>

0

>>

1

>>

2

>>

3

>>

4

>>

>>

0

>>

1

>>

2

>>

3

>>

4

>>

>>

0

>>

1

>>

2

>>

3

>>

4

>>

>>

0

>>

1

>>

2

>>

3

>>

4

>>

>>

0

>>

1

>>

2

>>

3

>>

4

>>

>>

0

>>

1

>>

2

>>

3

>>

4

>>

POLYMATH
Nonlinear Equation
>> 0 >> 1 >> 2 >> 3 >> 4 >>

The equation input/modification window

List of defined and undefined variables

min-max boundaries

SOLVE

Example 1: Explicit equations only The pressure (P) is to be calculated at a given temperature (T) and volume (V) according to the equation: P = R·T/(V-b) ² a/V2 where a = (27/64)(R2·Tc2/Pc) b = R·Tc/(8Pc) R = 0.08206 Tc = 304.2 Pc = 72.9

Example 2: One Implicit and two explicit equations Consider the following set of three equations: f(T) = x1P1 + x2P2 ² 760 (will be zero at solution) (1) log(P1) = 6.85221 - 1064.63/(T + 232.0) (2) log(P2) = 6.87776 - 1171.53/(T + 224.366) (3) with x1 = 0.1 and x2 = 0.9. The equation set must be solved for the unknown T in the range of Tmin = 36 and Tmax = 70. The log represents the logarithm to the base 10. In order to solve this set with Polymath, equations (2) and (3) should preferably be rewritten as explicit equations for P1 and P2. Thus: P1 = 10^(6.85221-1064.63/(T+232.0)) P2 = 10^(6.87776-1171.53/(T+224.366))

Example 3: Two implicit Non-linear and Several Explicit equations Consider the following set of equations: k·CA12 = v·(CA0-CA1)/V k·CA22 = v·(CA1-CA2)/V where k = 0.075, v = 30, CA0 = 1.6, and CA2 = 0.2 CA0.
The resulting equation set must be solved for the variables CA1 and V using the initial estimates: CA1=1 and V=300. To solve this system of equations, each nonlinear algebraic equation must be rewritten in the form f(x)=(an expression that is to have the value of zero at the solution). The appropriate forms for these equations are: f(CA1) = k·CA12 ± v(CA0 - CA1)/V f(V) = k·CA22 ± v(CA1-CA2)/V

THE END

Sign up to vote on this title