Documente Academic
Documente Profesional
Documente Cultură
= (())
2
Chemical engineering modelling often involves the use of more than one differential equation
when modelling a system. Following the laws of conservation of energy, momentum and
mass, it is common to see differential equations being formulated around these.
These differential equations are normally set with respect to time, with general form:
= (())
= +
The rate of mass generation is included to follow the general form of macroscopic balance
equations but is set to 0 unless we are considering nuclear reactions, which is beyond the
scope of your first year.
The main difference, as you will see in the example below, lies
on the fact that IVPs give two conditions under the same value
for the specified variable, whilst in BVPs they are different.
So, for a problem: = ;
In many cases, one of the conditions can be assumed without it being stated specifically.
For example, if water is falling on an initially empty tank, it should be immediately clear that
at t = 0, the height, h, of water in the tank will also be 0.
The following question is extracted from Applied Mathematical Methods for Chemical Engineers,
Second Edition (Norman W. Loney)
0.5 2
2
=(
)(
) (
)
min
min
1
1
+ =
50
100
Finding the integrating factor as:
1
() = 50 = 50
And the equation is rewritten as:
( 50 )
() =
1
50
100
50
+ 50
100
With a being the integrating constant. Hence using the initial condition (0) = 0, we get:
() =
50
(1 50 )
100
So at t=10:
(10) =
10
50
(1 50 )
100
And so after the 10min period the water input would change to pure so the equation would
reduce to Rate of accumulation = - Rate of output with the new initial condition of:
(10) =
10
50
(1 50 )
100
Thus:
100
= 2
() = 50
Where b is the integrating factor. Using the initial condition, we obtain:
10
10
1
= (1 50 ) 50
2
Therefore, at t=20 or after 10 min in the secondary conditions, the concentration of salt is:
10
10
1
(20) = (1 50 ) 50
2
And the amount of (kg) of salt in the tank at the end of this time period is:
100 (20) = 50(1 0.2 ) 0.2
= 7.42 kg
The following questions are partially extracted from Stewart Calculus, Applications of Second-Order
Differential Equations, Example 3 and CasaXPS Mechanics 3 Rev 12
Example
Analysis of electrical circuits can also be done using second order differential equations.
In fact, Kirchhoffs voltage law can be written as:
2
1
+
+ = ()
2
A chemical engineer wants to measure the charge produced by a small prototype he has
built for a wind turbine at any time t when undergoing mild weather conditions. The initial
values for current and charge are both 0 (remember =
+ 40
+ 625 = 100 cos(10)
2
64
4
(21 cos(10) + 16 sin(10))
697
84
464
, 2 =
697
2091
84
464
4
cos(15)
sin(15)) +
(21 cos(10) + 16 sin(10))
697
2091
697
Example
The velocity and the acceleration of a particle has been formulated by the following second
order differential equation:
2
+5
+ 6 = 4
2
=
=
+5
+ 6 = + 5( ) + 6 = 2
2
+5
+ 6 = 4
2
Therefore:
4 2 4 = 2 = 2 () = 2
The general solution to our differential is then:
() = () + ()
() = 2 + 2 + 3
Applying the boundary conditions, we can find A and B to be:
0 = (0) = 2 0 2 2(0) 3 3(0) 2 + + = 0 ()
= 2 2 2 3 3
Therefore
Solving simultaneously results in A=0 and B= -2. Hence the particular equation is:
() =
Example
A particle of mass m, attached to a spring is subject to three forces:
1. A tension force 9
By applying Newtons second law of motion, express the displacement x in terms of time
t as a differential equation for the general solution x(t).
Hint: displacement can be obtained from the linear summation of the forces.
Solution
Newtons second law of motion F=ma allows three forces to be combined in the form:
= 9 2
+ 3 sin(2)
2
+2
+ 9 = 3 sin(2) ()
2
Hence the complimentary function for our differential can be found by:
2
+2
+ 9 = 0 ()
2
2
=
= 1
2 2(1)
4 2 32
=
= 22
2
2(1)
() = ((22) + (22))
The particular integral of () for the function () = 3sin(2). Since the form for the
function ()matches () = 0 cos() + 1 sin() 0 = 0 = 2 particular integral
must be in the form () = 0 cos(2) + 1 sin(2) where both 0 1 must be determined
by substituting into the identity:
2
+2
+ 9 3 sin(2)
2
= 20 sin(2) + 21 cos(2)
And
2
= 22 0 cos(2) + 22 1 sin(2) = 4(0 cos(2) + 1 sin(2))
Therefore:
2
+
2
+ 9
2
cos(2t): 40 + 41 + 90 = 0 1 = 4 0
5
12
15
5 ( 0 ) 40 = 3 0 =
1 =
4
41
41
12
15
cos(2) + sin(2)
41
41
12
15
cos(2) + sin(2)]
41
41