Project
Project
SUBMITTED BY:
FATIMA ZULFIQAR
AFSHAN RAHEEM
BUSHRA FARASAT
SAMINA AZAM
AMINAH ALI
SADIA RIAZ
SUBMITTED TO:
SUBJECT:
ODE
DEPARTMENT:
MATHEMATICS
1
MATHEMATICAL
MODELING
LINEAR & NON-LINEAR
2
Content
• Introduction
• Growth and decay problems
• Newton’s law of cooling
• Logistic growth
• Mixture problems
• Electrical circuits
• Falling body problems
• References
3
Introduction to Mathematical Modeling with ODEs
“Mathematics consists of the study and development of methods for prediction”
Modeling is the use of mathematics as a tool to explain and make predictions of
natural phenomena
Let N(t) denote the amount of substance (or population) that is either growing or
decaying.If we assume that dN/dt, the time rate of change of this amount of substance ,is
proportional to the amount of substance present ,then dN/dt=kN, or
dN/dt-kN= 0
4
The differential equation is solved by the method of separation of variables:
5
Example
The population of a certain city was 292000 in 1998, and
the observed relative growth rate is 2% per year.
Find a function that models the population after t years.
Find the projected population in the year 2004.
In what year will the population reach 365004?
Solution
A = Pe rt
We are going to let t = 0 represent the year 1998 and t is the
number of years since 1998.
A = 292000 e .02t
This model will give us the population t years after 1998.
A = 292000 e .02t
Now we plug in for t. We need to know what t will represent the year
2004. We find that using a subtraction problem. 2004-1998 = 6 tells
us that 2004 is 6 years since 1998 and thus our t is 6.
A = 292000 e ( .02 *6 )
A = 329229 .0807
This is not the answer. People must be whole, thus we must round this
number. Either 329229 people or 329230 people would be considered
correct. 6
Now we plug in 365004 for A and solve for t.
365004
= ln (e )
.02t
ln
292000
365004
ln = (.02t ) ln e
292000
365004
ln = (.02t )
292000
365004
ln
292000 = t
.02
t = 11 .15772551
7
Half life
Half life is the time it takes for one-half of the atoms in initial
amount A0 to disintegrate into atoms of another element.
Not all elements are radioactive. Those that are the most useful
for geologic dating are:
U-238 Half-life = 4.5 years
K-4 Half-life = 1.25years
C-14 Half-life = 5.73 years
8
Schematic diagram showing decay of radioactive parent isotope (e.g. U-238)
to a daughter (e.g. Pb-206). Note changing ratio of parent/daughter after 2
half-lives. Note that to get an estimate of the geologicc age, you need the ratio
of the parent isotope to the daughter isotope, e.g. two measurements.
Example
The half-life of strontium-90 is 28 years. Suppose we have
a 80 mg sample.
9
Solution
ln(.5 )
*t
A = 80e 28
10
We will use the model found in the previous part of the problem
and plug in 100 for the t.
ln(.5 )
*100
A = 80e
28
A = 6.729500963
ln(.5 )
*t
A = 80e 28
ln(.5 )
*t
20 = 80e 28
ln(.5 )
20 *t
= e 28
80
ln(.5 )
*t
.25 = e 28
ln(.5)
ln(.25) = *t
28
ln(.25)
=t
ln(.5)
28
t = 56
It will take 56 years to get down to 20 mg. You could also
have done this just using the definition of half-life.
Carbon dating
11
Carbon dating can be used on material which was living in the last few
tens of thousands of years, and which got its carbon from the air.
12
Example
Solution
ln(. 5 )
*t
A(t ) = 100e 5730
13
Since the ending amount of carbon-14 is 35%, we will plug 35 in for
A(t) – the amount after time t. Now we solve for t.
ln(.5 )
*t
35 = 100e 5730
ln(.5 )
35 *t
= e 5730
100
ln(.5 )
*t
.35 = e 5730
ln(.5)
ln(.35) = *t
5730
ln(.35)
=t
ln(.5)
5730
t = 8678.50428
This means that our wooden artifact is approximately
8678.50428 years old.
14
Newton’s Law of Cooling
The rate at which the temperature T (t) changes in a cooling body is directly proportional
to the temperature difference between the body and the constant temperature Tm, of the
surrounding medium.
• Separate the variables. Get all the T’s on one side and the t on the other
side.
dT∕(T−Tm) = Kdt
15
EXAMPLES
At 9 am on October 19, 2009 a body was found in room 327 at the University
Center. The room is kept at a constant temperature of 72o F. The medical
examiner was called and he arrived in eight minutes. The first thing he did
was to take the temperature of the body. It was 83 o F. Thirty minutes later
the temperature of the body was taken again and it was now 78o F. Help the
police by telling them when the person was murdered.
SOLUTION:
At 9:08 am
T = temperature of body at 0min = 83o F
Tm = temperature of surroundings = 72o F
By putting these values in below equation and calculate the value of C
T = Tm + CeKt
83o = 72o + Ce(0)k
83o−72o = Ceo
11o F = C
At 9:38 am
T = temperature of body after 30mins = 78o F
Tm = temperature of surroundings = 72o F
C = 11o F
By putting these values in below equation and calculate the value of K
T = Tm + CeKt
78o = 72o + (11o )e(30)K
78o−72o = (11o )e(30)K
6o = (11o )e(30)K
e(30)K = 6o∕11o
e(30)K = 0.545
Taking ln on bothsides
ln(e(30)K)= ln(0.545)
30K = −0.6069
K = −0.6069∕30
K = −0.0202
Substituting K into below equation
T = Tm + CeKt
T = 72o + (11o) e(−0.0202)t
16
Since the medical examiner wishes to know the time of death, a solution for “t” is
found by setting the temperature of the body at 98.6o F, normal body temperature.
Solving for “t”
98.6o = 72o + (11o) e(−0.0202)t
(98.6o − 72o ) ∕(11o) = e(−0.0202)t
2.418 = e(−0.0202)t
Taking ln on bothsides
ln(2.418) = ln(e(−0.0202)t)
0.883 = (−0.0202)t
(0.883) ∕ (−0.0202) = t
t = −43.7
Subtracting 43mins from 09:08 am gives the time of death as 08:25 am.
Shayan and Subhan are playing in park. Reshail is at home making pizza.
He calls Shayan and tells him that he is taking the pizza out from the oven
right now. Shayan and Subhan need to get back home in time so that they
can enjoy the pizza at a warm temperature of 110o F.
The pizza, heated to a temperature of 450o F, is taken out of an oven and placed
in a 75o F room at time t=0 minutes. If the pizza cools from 450 o to 370o in 1minute,
how much longer will it take for its temperature to decrease to 110o F?
SOLUTION:
17
0.786 = eK
Taking ln on bothsides
ln(eK)= ln(0.786)
K = −0.239
T = temperature of pizza = 110o F
Tm = temperature of surroundings = 75o F
C = 375o F
K = −0.239
“t” = ?
By putting these values in below equation and calculate the value of “t”
T = Tm + CeKt
110 = 75 + (375)e(−0.239)t
(110 − 75) ∕ (375) = e(−0.239)t
0.0933 = e(−0.239)t
Taking ln on bothsides
ln(0.0933) = ln(e(−0.239)t)
(−0.239)t = −2.371
t = −2.371 ∕ −0.239
t = 9.9min
It takes about 9.9mins for the pizza to cool to a temperature of 110o F.
18
REFERENCES
• [Chapter 10] Glyn James,Modern Engineering Mathematics, 4th ed.,
Pearson, 2008.
• [Chapter 8] R. T. Smith and R. B. Minton, Calculus, 3rd ed., Mc-Graw
Hill, 2008.
• [Chapter 8] Dennis g. zill, Differential equations with boundary value
problems,3rd ed.
• Schaum,s series,Richard Bronson,Differential equations,2nd ed.
• Personal notes
• http://www.scribd.com/doc/21514655/Newton-s-Law-of-Cooling-
Finding-the-Time-of-Death-of-a-John-Doe
• http://www.slideshare.net/slee1111/newtons-law-of-cooling-4385942
Figure shows solution pours into a tank, mixes with another type of solution.
19
and then pours out.
Assume for concreteness that the chemical substances are salt and water.
Let
Example:
A tank contains 1000L of brine with 15kg of dissolved salt.
Pure water enters the tank at a rate of 104 min. the solution is
kept thoroughly mixed and drains from the tank at the same
rate. How much salt is in the tank after‘t’ minutes?
SOLUTION:
SUPPOSE:
> A(t) be the amount of salt after ‘t’ minutes in tank.
> dA/dt = (rate in of salt)-(rate out of salt)
dA/dt=(concentration in)(rate of water flow)-(concentration out)(Rate of water
flow)
(0)(10 l/m) – (A(t)/1000)(10)
dA/dt = -A/1000 . 10
dA/dt = -A/100
∫1/A dA = ∫-1/100 dt
ln |A| = -1/100 t +C
20
Suppose: t=0 and A=15
Then , A(0) = 15
Solving the value of constant C
-1/100 (0) = 0
ln 15 = C
Exercise:
At time t=0 a tank contains 1kg of salt dissolved in 100 Liters
of water. If salty water containing ¼ kg per liter at a rate of 3
liters per minute and the solution is draining from the tank at
3 liters per minute then predict how much salt will be in the
tank at time “t”.
21