Professional Documents
Culture Documents
Solving Linear and Non Linear System of Algebraic
Solving Linear and Non Linear System of Algebraic
• Chemical reaction kinetics: The rate of a chemical reaction is often nonlinear and can be described
using nonlinear algebraic equations.
• Equations of state: The equations of state used to describe the thermodynamic properties of fluids are
often nonlinear.
• Nonlinear heat transfer equations: In some cases, the heat transfer equations in chemical engineering
may be nonlinear.
SOLVING LINEAR SYSTEM OF ALGEBRAIC EQUATIONS
L,xn-1 yn ,G
• Equilibrium relation at any stage can be given as:
ym = a x m + b
G, yn
L, xn-1
L, xn G, yn+1
n =2
L x1 - ( L + Ga )x2 + G a x3 =0
n=3
L x2 - ( L + Ga )x3 + G a x4 =0
n=4
L x3 - ( L + Ga )x4 + G a x5 =0
n=5
L x4 - ( L + Ga )x5 + G a x6 =0
n=6
Lx5 - (L + Ga )x6 = G( b – y7)
• Since L , G , a and b are constants and x0 , y7 are known.
• Matrix form can be written as
x1 -Lx0
-( L+ Ga) Ga 0 0 0 0 0
x2 0
L -(L + Ga) 0 0 0 0 0
x3
0 L -(L + Ga) Ga 0 0 = 0
0 0 L -( L + Ga) Ga 0 x4
0
0 0 0 0 -( L + Ga) Ga x5
G(b – y7)
x6
X B
A
AX = B
Solution will be given as: X = A\B
x1: 1546937375124950/61266455220906601
=> 0.025249337
x2: 2786967335144950/61266455220906601
=> 0.0454892865
x3: 3780979327144950/61266455220906601
=> 0.0617136949
x4: 4577782527144950/61266455220906601
=> 0.0747192327
x5: 5216502527144950/61266455220906601
=> 0.0851445136
x6: 5728502527144950/61266455220906601
=> 0.0935014521
PROBLEM BASED ON SYSTEM OF NON LNEAR ALGEBRAIC EQUATIONS:
1) The Peng-Robinson equation of state is a common equation used in the industry, and it is
given by:
P = (RT/(v-b)) - (aα/(v(v+b)))
where P is the pressure, T is the temperature, R is the gas constant, v is the molar volume, a
and b are constants that depend on the gas, and α is a parameter that depends on the
temperature and the gas. this equation is non linear in terms of volume.