SlideShare a Scribd company logo
KNF1023
                                   Engineering
                                Mathematics II

                                   Application of First
               Prepared By         Order ODEs
              Annie ak Joseph




Prepared By
Annie ak Joseph                           Session 2008/2009
Learning Objectives




       Apply the first order ODEs in mixing
       problems




        Apply the Torricelli’s law in the real life
        application
Example of application: Mixing
problems

The tank in the figure below contains 1000 gal
of water in which initially 100lb of salt is dissolved.
Brine runs in at a rate of 10 gal/min, and each
Gallon contains 5 lb of dissolved salt. The mixture
in the tank is kept uniform by stirring. Brine runs
out at 10 gal/min. Find the amount of salt in the
tank at any time t.
Solution: Step1. Setting up a model.

Let y(t)denote the amount of salt in the tank
at time t (unit is lb/1000gal). Its time rate of
change is
  dy
       = Salt inflow rate - Salt outflow rate
  dt               “Balance Law”

The amount of salt entering the tank is   (5 × 10)
lb/min which is 50lb/min.
Continue…

The amount of salt flow out the tank is
  y (t )      lb/min.
         ×10 
 1000    

Now, the outflow is 10 gal of brine. This is 10/1000
= 0.01 (=1%) of the total brine content in the
tank, hence 0.01 of the salt content y(t), that is,
0.01y(t). Thus the model is the ODE

    dy
       = 50 − 0.01 y (t ) = −0.01( y (t ) − 5000)
    dt
Step 2. Solution of the model.

The ODE is separable. Separation, integration,
And taking exponents on both sides gives

                      dy
                            = −0.01dt
                   y − 5000

                ln y − 5000 = −0.01t + c *
                                    −0.01t + c *
                 y − 5000 = e
                                      −0.01t
                 y − 5000 = ce
Continue…

Initially the tank contains 100 lb of salt. Hence
y(0)=100 is the initial condition that will give the
unique solution. Substituting y=100 and t=0 in
The last equation gives .Hence c=-4900. Hence
The amount of salt in the tank at time t is

                                          −0.01t
            y (t ) = 5000 − 4900e
Example 2: Mixing problems in
Cascade Tank

Two tanks are cascaded as in Figure 1. Tank
1 initially contains 30 kilograms of salt
dissolved in 100 liters of brine, while tank 2
contains 150 liters of brine in which 70 kilograms
Of salt are dissolved. At time zero, a brine solution
containing ½ kilogram of salt per liter is added to
tank 1 at the rate of 10 liters per minute. Tank 1
has an output that discharges brine into tank 2 at
the rate of 5 liters per minute, and tank 2 has an
output of 15 liters per minute. Determine the
amount of salt in each tank at any time t (y1(t) and
y2(t)).
Figure 1
Solution:


Let y1(t) denotes the amount of
salt in tank 1 at time t.

                 dy salt inflow       salt outflow
Rate of change :    =             −
                 dt     rate              rate

Salt entering tank 1 :


               l   1 kg 
            10   ×       = 5 kg/min
             min   2 l 
Continue…

Salt out of tank 1 :
              y1 (t ) kg   l 
                         ×5   = 0.05 y1 kg/min
              100 l   min 
               dy1
                   = 5 − 0.05 y1
               dt
                   = −0.05 ( y1 − 100 )
                      dy1
               ∫   y1 − 100
                            = ∫ −0.05dt

               ln y1 − 100 = −0.05t + c1
               y1 − 100 = exp ( −0.05t + c1 )
                         = ce −0.05t            ( where c = ec1 )
Continue…

Initially, the tank contains 30kg of salt.

        Hence,         y1 ( 0 ) = 30
                                       −0.05( 0 )
                   30 − 100 = ce
                              c = −70
                                    −0.05t
       ∴ y1 (t ) = 100 − 70e
                                    − t / 20
                   = 100 − 70e
Continue…

Let y2(t) denotes the amount of salt in tank
2 at time t.
Rate of change : Salt entering tank 2-Salt
                  out of tank 2
Salt entering tank 2:
              = salt out tank 1
              = 0.05 y1
              = 0.05 (100 − 70e       − t / 20
                                                 ) kg/min
                           − t / 20
              = 5 − 3.5e
Continue…

Salt out of tank 2 :

        y2 (t ) kg        l  1
                    ×  15   =  y2 kg/min
        150 l   min  10
          dy2            − t / 20   1
              = 5 − 3.5e          − y2
           dt                      10
          dy2 1                      − t / 20
              + y2 = 5 − 3.5e
           dt 10
This is a non-homogeneous 1st order ODE
Continue…

Solve the homogeneous part :

              dy2 1
                   + y2 = 0
               dt 10
                1           1
              ∫ y2 dy2 = − 10 ∫ dt
                              1
                  ln y2 = − t
                            10
                            − t /10
                     y2 = e
Continue…


                       −t /10
               y2 = e            ⋅v
                        −t /10           1  −t /10
               y2 ' = e          ⋅ v'+ v − e
                                         10 
Substitute into the ODE :-

                     1  − t /10 1 − t /10
 e− t /10
           ⋅ v '− v   e          + (e     ⋅ v ) = 5 − 3.5e − t /20
                     10           10
   − t /10 dv              − t /20
 e              = 5 − 3.5e
            dt
Continue…




     ∫      ∫
              5 e − 3.5 e dt
                          t /10                  t / 20
       dv =                     
                 t /10  t / 20
        v = 50 e − 70 e        + c2
∴ y2 = e    − t /10
                      ( 50 e   t /10
                                       − 70 e     t / 20
                                                           + c2 )
                         − t / 20               − t /10
     = 50 − 70 e                       + c2 e
Continue…

Initially, the tank contains 70kg of salt.

         Hence,       y2 ( 0 ) = 70
                                                 ( 0)             ( 0)
                         70 = 50 − 70e                   + c2 e
                          c2 = 90
                            − t / 20           − t /10
        ∴ y2 = 50 − 70e                + 90e
Leaking Tank. Outflow of Water
Through a Hole (Torricelli’s Law)

The law concerns the outflow of water from a
cylindrical tank with a hole at the bottom. You are
asked to find the height of the water in the tank at
any time if the tank has diameter 2 m, the hole
has diameter 1 cm, and the initial height of the
water when the hole is opened is 2.25 m. When will
the tank be empty?
Physical information

Under the influence of gravity the out-flowing
Water has velocity

    v(t ) = 0.600 2 gh(t )        (Torricelli’s Law)

Where h(t) is the height of the water above the
hole at time t, g = 980cm / s 2 = 32.17 ft / s 2 and is
the acceleration of gravity at the surface of the
earth.
Solution. Step 1. Setting up the
model.

To get an equation, we relate the decrease in
Water level h(t) to the outflow. The volume ∆V
of the outflow during a short time ∆t is

       ∆V = Av∆t       (A=Area of hole)

∆V must equal the change ∆V* of the volume of
the water in the tank. Now

                          (B=Cross-sectional
       ∆V * = − B∆h         area of tank)
Continue…

Where ∆h(>0) is the decrease of the height
h(t) of the water. The minus sign appears
because the volume of the water in the tank
decreases.

Equating ∆V and ∆V * gives

               − B∆h = Av∆t
Continue…

Now we express v according to Torricelli’s Law
And then let ∆t (the length of the time interval
considered) approach 0 – this is a standard way
Of obtaining an ODE as a model. That is, we
Have
         ∆h    A     A
            = − v = − 0.600 2 gh(t )
         ∆t    B     B
And by letting ∆t→0 we obtain the ODE
               dh          A
                  = −26.56   h
               dt          B
Continue…

Where 26.56 = 0.600 2 × 980


This is our model, a first-order ODE.
Step 2. General solution.

Our ODE is separable. A/B is constant. Separation
and integration gives
                        dh         A
                           = −26.56 dt
                         h         B
                            1
                        −             A
                   ∫ h dh = − ∫ 26.56 B dt
                            2


                        1
                        2
                    h         A
                      = −26.56 t + c
                    1         B
                    2
                               A
                   2 h = −26.56 t + c
                               B
Continue…

                                   A
                    2 h = −26.56 t + c
                                   B
                                            A c
Dividing by 2 and squaring givesh = ( −13.28 t + ) 2
                                            B   2
         c
Here c =
         2
                A
Inserting 13 .28 = 13 .28 × 0 .5 2 π
                                 2
                                     = 0 .000332 yields
                B           100 π
The general solution

                                             2
               h(t ) = (c − 0.000332t )
Step 3. Particular solution.

The initial height (the initial condition) is
h(0)=225 cm. Substitution of t=0 and h=225
                                      2
Gives from the general solution (c ) = 225, c = 15.00
and thus the particular solution

                                               2
          hp (t ) = (15.00 − 0.000332t )
Step 4. Tank empty.

h p (t ) = 0
           if t=15.00/0.000332 = 45181 s
= 12.6 hours
Prepared By
              Annie ak Joseph




Prepared By
Annie ak Joseph                 Session 2007/2008

More Related Content

What's hot

Tutorial membangun linux from scratch dari awal
Tutorial membangun linux from scratch dari awalTutorial membangun linux from scratch dari awal
Tutorial membangun linux from scratch dari awalMuhammad Dzulfikri
 
Solucionário Capitulo4 FOX
Solucionário Capitulo4 FOXSolucionário Capitulo4 FOX
Solucionário Capitulo4 FOX
Marilza Sousa
 
Circuit Network Analysis - [Chapter4] Laplace Transform
Circuit Network Analysis - [Chapter4] Laplace TransformCircuit Network Analysis - [Chapter4] Laplace Transform
Circuit Network Analysis - [Chapter4] Laplace Transform
Simen Li
 
Trigo Sheet Cheat :D
Trigo Sheet Cheat :DTrigo Sheet Cheat :D
Trigo Sheet Cheat :DQuimm Lee
 
Concept of-complex-frequency
Concept of-complex-frequencyConcept of-complex-frequency
Concept of-complex-frequencyVishal Thakur
 
2nd order ode applications
2nd order ode applications2nd order ode applications
2nd order ode applications
Muhammad Zulfazli
 
Applied Digital Signal Processing 1st Edition Manolakis Solutions Manual
Applied Digital Signal Processing 1st Edition Manolakis Solutions ManualApplied Digital Signal Processing 1st Edition Manolakis Solutions Manual
Applied Digital Signal Processing 1st Edition Manolakis Solutions Manual
towojixi
 
Tabela de Integrais
Tabela de  IntegraisTabela de  Integrais
Tabela de Integrais
Daniel Barão
 
電路學Chapter6-1
電路學Chapter6-1電路學Chapter6-1
電路學Chapter6-1
Fu Jen Catholic University
 
電路學 - [第六章] 二階RLC電路
電路學 - [第六章] 二階RLC電路電路學 - [第六章] 二階RLC電路
電路學 - [第六章] 二階RLC電路
Simen Li
 
電路學 - [第四章] 儲能元件
電路學 - [第四章] 儲能元件電路學 - [第四章] 儲能元件
電路學 - [第四章] 儲能元件
Simen Li
 
Exercicio 5 transformada de fourier no tempo continuo
Exercicio 5   transformada de fourier no tempo continuoExercicio 5   transformada de fourier no tempo continuo
Exercicio 5 transformada de fourier no tempo continuo
Alessandro Beda
 
MESH AND SUPERMESH ANALYSIS
MESH AND SUPERMESH ANALYSISMESH AND SUPERMESH ANALYSIS
MESH AND SUPERMESH ANALYSIS
jignesh prajapati
 
Física 02 - Temperatura, calor e a 1a lei da termodinâmica
Física 02 - Temperatura, calor e a 1a lei da termodinâmicaFísica 02 - Temperatura, calor e a 1a lei da termodinâmica
Física 02 - Temperatura, calor e a 1a lei da termodinâmicaWalmor Godoi
 
Questões ri l1 selecionada-2017-1
Questões ri   l1 selecionada-2017-1Questões ri   l1 selecionada-2017-1
Questões ri l1 selecionada-2017-1
Ambienterra e Funcionario publico
 
Cours electronique analogique filtrage 2
Cours electronique analogique filtrage 2Cours electronique analogique filtrage 2
Cours electronique analogique filtrage 2Rachid Richard
 
Gabarito Fox Mecanica dos Fluidos cap 1 a 6
Gabarito Fox Mecanica dos Fluidos cap 1 a 6Gabarito Fox Mecanica dos Fluidos cap 1 a 6
Gabarito Fox Mecanica dos Fluidos cap 1 a 6
André Provensi
 
Problemas resolvidos e propostos
Problemas resolvidos e propostosProblemas resolvidos e propostos
Problemas resolvidos e propostos
Franck Lima
 
Chap3
Chap3Chap3
Chap3
tarunit06
 

What's hot (20)

Tutorial membangun linux from scratch dari awal
Tutorial membangun linux from scratch dari awalTutorial membangun linux from scratch dari awal
Tutorial membangun linux from scratch dari awal
 
Solucionário Capitulo4 FOX
Solucionário Capitulo4 FOXSolucionário Capitulo4 FOX
Solucionário Capitulo4 FOX
 
Circuit Network Analysis - [Chapter4] Laplace Transform
Circuit Network Analysis - [Chapter4] Laplace TransformCircuit Network Analysis - [Chapter4] Laplace Transform
Circuit Network Analysis - [Chapter4] Laplace Transform
 
Duality concept
Duality conceptDuality concept
Duality concept
 
Trigo Sheet Cheat :D
Trigo Sheet Cheat :DTrigo Sheet Cheat :D
Trigo Sheet Cheat :D
 
Concept of-complex-frequency
Concept of-complex-frequencyConcept of-complex-frequency
Concept of-complex-frequency
 
2nd order ode applications
2nd order ode applications2nd order ode applications
2nd order ode applications
 
Applied Digital Signal Processing 1st Edition Manolakis Solutions Manual
Applied Digital Signal Processing 1st Edition Manolakis Solutions ManualApplied Digital Signal Processing 1st Edition Manolakis Solutions Manual
Applied Digital Signal Processing 1st Edition Manolakis Solutions Manual
 
Tabela de Integrais
Tabela de  IntegraisTabela de  Integrais
Tabela de Integrais
 
電路學Chapter6-1
電路學Chapter6-1電路學Chapter6-1
電路學Chapter6-1
 
電路學 - [第六章] 二階RLC電路
電路學 - [第六章] 二階RLC電路電路學 - [第六章] 二階RLC電路
電路學 - [第六章] 二階RLC電路
 
電路學 - [第四章] 儲能元件
電路學 - [第四章] 儲能元件電路學 - [第四章] 儲能元件
電路學 - [第四章] 儲能元件
 
Exercicio 5 transformada de fourier no tempo continuo
Exercicio 5   transformada de fourier no tempo continuoExercicio 5   transformada de fourier no tempo continuo
Exercicio 5 transformada de fourier no tempo continuo
 
MESH AND SUPERMESH ANALYSIS
MESH AND SUPERMESH ANALYSISMESH AND SUPERMESH ANALYSIS
MESH AND SUPERMESH ANALYSIS
 
Física 02 - Temperatura, calor e a 1a lei da termodinâmica
Física 02 - Temperatura, calor e a 1a lei da termodinâmicaFísica 02 - Temperatura, calor e a 1a lei da termodinâmica
Física 02 - Temperatura, calor e a 1a lei da termodinâmica
 
Questões ri l1 selecionada-2017-1
Questões ri   l1 selecionada-2017-1Questões ri   l1 selecionada-2017-1
Questões ri l1 selecionada-2017-1
 
Cours electronique analogique filtrage 2
Cours electronique analogique filtrage 2Cours electronique analogique filtrage 2
Cours electronique analogique filtrage 2
 
Gabarito Fox Mecanica dos Fluidos cap 1 a 6
Gabarito Fox Mecanica dos Fluidos cap 1 a 6Gabarito Fox Mecanica dos Fluidos cap 1 a 6
Gabarito Fox Mecanica dos Fluidos cap 1 a 6
 
Problemas resolvidos e propostos
Problemas resolvidos e propostosProblemas resolvidos e propostos
Problemas resolvidos e propostos
 
Chap3
Chap3Chap3
Chap3
 

Viewers also liked

Week 2
Week 2 Week 2
Week 2
Hazrul156
 
Applications of Matrices
Applications of MatricesApplications of Matrices
Applications of Matricessanthosh kumar
 
Hydronic Basics / Primary-Secondary Pumping
Hydronic Basics / Primary-Secondary PumpingHydronic Basics / Primary-Secondary Pumping
Hydronic Basics / Primary-Secondary Pumping
Illinois ASHRAE
 

Viewers also liked (6)

population models.pdf
 population models.pdf  population models.pdf
population models.pdf
 
Week 2
Week 2 Week 2
Week 2
 
Ch02 3
Ch02 3Ch02 3
Ch02 3
 
Applications of Matrices
Applications of MatricesApplications of Matrices
Applications of Matrices
 
Measurement PPT
Measurement PPTMeasurement PPT
Measurement PPT
 
Hydronic Basics / Primary-Secondary Pumping
Hydronic Basics / Primary-Secondary PumpingHydronic Basics / Primary-Secondary Pumping
Hydronic Basics / Primary-Secondary Pumping
 

Similar to Week 5 [compatibility mode]

Applications of Differential Equations of First order and First Degree
Applications of Differential Equations of First order and First DegreeApplications of Differential Equations of First order and First Degree
Applications of Differential Equations of First order and First Degree
Dheirya Joshi
 
IA on effect of zinc concentration on voltage using nernst equation
IA on effect of zinc concentration on voltage using nernst equationIA on effect of zinc concentration on voltage using nernst equation
IA on effect of zinc concentration on voltage using nernst equation
Lawrence kok
 
Linear circuit analysis - solution manuel (R. A. DeCarlo and P. Lin) (z-lib.o...
Linear circuit analysis - solution manuel (R. A. DeCarlo and P. Lin) (z-lib.o...Linear circuit analysis - solution manuel (R. A. DeCarlo and P. Lin) (z-lib.o...
Linear circuit analysis - solution manuel (R. A. DeCarlo and P. Lin) (z-lib.o...
Ansal Valappil
 
Solutions tohc vermasconceptsofphysics2
Solutions tohc vermasconceptsofphysics2Solutions tohc vermasconceptsofphysics2
Solutions tohc vermasconceptsofphysics2nayakq
 
Solution for Introduction to Environment Engineering and Science 3rd edition ...
Solution for Introduction to Environment Engineering and Science 3rd edition ...Solution for Introduction to Environment Engineering and Science 3rd edition ...
Solution for Introduction to Environment Engineering and Science 3rd edition ...
shayangreen
 
11th Physics Notes - Thermal Expansion for JEE Main
11th Physics Notes -  Thermal Expansion for JEE Main 11th Physics Notes -  Thermal Expansion for JEE Main
11th Physics Notes - Thermal Expansion for JEE Main
Ednexa
 
Chm3410hwk02 soln.252145237
Chm3410hwk02 soln.252145237Chm3410hwk02 soln.252145237
Chm3410hwk02 soln.252145237
Samandar Yuldoshev
 
Differential Equations 4th Edition Blanchard Solutions Manual
Differential Equations 4th Edition Blanchard Solutions ManualDifferential Equations 4th Edition Blanchard Solutions Manual
Differential Equations 4th Edition Blanchard Solutions Manual
qyfuc
 
Solutions fox
Solutions   foxSolutions   fox
Solutions fox
Arthur Lott Bezerra
 
Dynamics of structures 5th edition chopra solutions manual
Dynamics of structures 5th edition chopra solutions manualDynamics of structures 5th edition chopra solutions manual
Dynamics of structures 5th edition chopra solutions manual
Schneiderxds
 
Capitulo 10, 7ma edición
Capitulo 10, 7ma ediciónCapitulo 10, 7ma edición
Capitulo 10, 7ma edición
Sohar Carr
 
Capitulo 10 7 ed
Capitulo 10 7 edCapitulo 10 7 ed
Capitulo 10 7 ed
daniel sandoval
 
Ch06b entropy
Ch06b entropyCh06b entropy
Ch06b entropysuresh301
 
H c verma part2 pdf solution
H c verma  part2 pdf solutionH c verma  part2 pdf solution
H c verma part2 pdf solution
System of Avinash
 
Sm chap01
Sm chap01Sm chap01
Dev1insulating solid liquid 2
Dev1insulating solid liquid 2Dev1insulating solid liquid 2
Dev1insulating solid liquid 2Simon Koutoua
 
Lesson 15: Exponential Growth and Decay (slides)
Lesson 15: Exponential Growth and Decay (slides)Lesson 15: Exponential Growth and Decay (slides)
Lesson 15: Exponential Growth and Decay (slides)
Matthew Leingang
 

Similar to Week 5 [compatibility mode] (20)

Tut09
Tut09Tut09
Tut09
 
Applications of Differential Equations of First order and First Degree
Applications of Differential Equations of First order and First DegreeApplications of Differential Equations of First order and First Degree
Applications of Differential Equations of First order and First Degree
 
Sect2 3
Sect2 3Sect2 3
Sect2 3
 
IA on effect of zinc concentration on voltage using nernst equation
IA on effect of zinc concentration on voltage using nernst equationIA on effect of zinc concentration on voltage using nernst equation
IA on effect of zinc concentration on voltage using nernst equation
 
Linear circuit analysis - solution manuel (R. A. DeCarlo and P. Lin) (z-lib.o...
Linear circuit analysis - solution manuel (R. A. DeCarlo and P. Lin) (z-lib.o...Linear circuit analysis - solution manuel (R. A. DeCarlo and P. Lin) (z-lib.o...
Linear circuit analysis - solution manuel (R. A. DeCarlo and P. Lin) (z-lib.o...
 
Solutions tohc vermasconceptsofphysics2
Solutions tohc vermasconceptsofphysics2Solutions tohc vermasconceptsofphysics2
Solutions tohc vermasconceptsofphysics2
 
Solution for Introduction to Environment Engineering and Science 3rd edition ...
Solution for Introduction to Environment Engineering and Science 3rd edition ...Solution for Introduction to Environment Engineering and Science 3rd edition ...
Solution for Introduction to Environment Engineering and Science 3rd edition ...
 
11th Physics Notes - Thermal Expansion for JEE Main
11th Physics Notes -  Thermal Expansion for JEE Main 11th Physics Notes -  Thermal Expansion for JEE Main
11th Physics Notes - Thermal Expansion for JEE Main
 
Chm3410hwk02 soln.252145237
Chm3410hwk02 soln.252145237Chm3410hwk02 soln.252145237
Chm3410hwk02 soln.252145237
 
Differential Equations 4th Edition Blanchard Solutions Manual
Differential Equations 4th Edition Blanchard Solutions ManualDifferential Equations 4th Edition Blanchard Solutions Manual
Differential Equations 4th Edition Blanchard Solutions Manual
 
Solutions fox
Solutions   foxSolutions   fox
Solutions fox
 
Topic 2 kft 131
Topic 2 kft 131Topic 2 kft 131
Topic 2 kft 131
 
Dynamics of structures 5th edition chopra solutions manual
Dynamics of structures 5th edition chopra solutions manualDynamics of structures 5th edition chopra solutions manual
Dynamics of structures 5th edition chopra solutions manual
 
Capitulo 10, 7ma edición
Capitulo 10, 7ma ediciónCapitulo 10, 7ma edición
Capitulo 10, 7ma edición
 
Capitulo 10 7 ed
Capitulo 10 7 edCapitulo 10 7 ed
Capitulo 10 7 ed
 
Ch06b entropy
Ch06b entropyCh06b entropy
Ch06b entropy
 
H c verma part2 pdf solution
H c verma  part2 pdf solutionH c verma  part2 pdf solution
H c verma part2 pdf solution
 
Sm chap01
Sm chap01Sm chap01
Sm chap01
 
Dev1insulating solid liquid 2
Dev1insulating solid liquid 2Dev1insulating solid liquid 2
Dev1insulating solid liquid 2
 
Lesson 15: Exponential Growth and Decay (slides)
Lesson 15: Exponential Growth and Decay (slides)Lesson 15: Exponential Growth and Decay (slides)
Lesson 15: Exponential Growth and Decay (slides)
 

More from Hazrul156

C hapter 2 diode applications
C hapter 2 diode applicationsC hapter 2 diode applications
C hapter 2 diode applicationsHazrul156
 
Week 4 [compatibility mode]
Week 4 [compatibility mode]Week 4 [compatibility mode]
Week 4 [compatibility mode]
Hazrul156
 
Week 3 [compatibility mode]
Week 3 [compatibility mode]Week 3 [compatibility mode]
Week 3 [compatibility mode]
Hazrul156
 
Week 6 [compatibility mode]
Week 6 [compatibility mode]Week 6 [compatibility mode]
Week 6 [compatibility mode]
Hazrul156
 
Week 7 [compatibility mode]
Week 7 [compatibility mode]Week 7 [compatibility mode]
Week 7 [compatibility mode]
Hazrul156
 
Week 8 [compatibility mode]
Week 8 [compatibility mode]Week 8 [compatibility mode]
Week 8 [compatibility mode]
Hazrul156
 
Week 1 [compatibility mode]
Week 1 [compatibility mode]Week 1 [compatibility mode]
Week 1 [compatibility mode]Hazrul156
 

More from Hazrul156 (7)

C hapter 2 diode applications
C hapter 2 diode applicationsC hapter 2 diode applications
C hapter 2 diode applications
 
Week 4 [compatibility mode]
Week 4 [compatibility mode]Week 4 [compatibility mode]
Week 4 [compatibility mode]
 
Week 3 [compatibility mode]
Week 3 [compatibility mode]Week 3 [compatibility mode]
Week 3 [compatibility mode]
 
Week 6 [compatibility mode]
Week 6 [compatibility mode]Week 6 [compatibility mode]
Week 6 [compatibility mode]
 
Week 7 [compatibility mode]
Week 7 [compatibility mode]Week 7 [compatibility mode]
Week 7 [compatibility mode]
 
Week 8 [compatibility mode]
Week 8 [compatibility mode]Week 8 [compatibility mode]
Week 8 [compatibility mode]
 
Week 1 [compatibility mode]
Week 1 [compatibility mode]Week 1 [compatibility mode]
Week 1 [compatibility mode]
 

Recently uploaded

The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
DhatriParmar
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
Kartik Tiwari
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
gb193092
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
kimdan468
 

Recently uploaded (20)

The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
 

Week 5 [compatibility mode]

  • 1. KNF1023 Engineering Mathematics II Application of First Prepared By Order ODEs Annie ak Joseph Prepared By Annie ak Joseph Session 2008/2009
  • 2. Learning Objectives Apply the first order ODEs in mixing problems Apply the Torricelli’s law in the real life application
  • 3. Example of application: Mixing problems The tank in the figure below contains 1000 gal of water in which initially 100lb of salt is dissolved. Brine runs in at a rate of 10 gal/min, and each Gallon contains 5 lb of dissolved salt. The mixture in the tank is kept uniform by stirring. Brine runs out at 10 gal/min. Find the amount of salt in the tank at any time t.
  • 4. Solution: Step1. Setting up a model. Let y(t)denote the amount of salt in the tank at time t (unit is lb/1000gal). Its time rate of change is dy = Salt inflow rate - Salt outflow rate dt “Balance Law” The amount of salt entering the tank is (5 × 10) lb/min which is 50lb/min.
  • 5. Continue… The amount of salt flow out the tank is  y (t )  lb/min.  ×10   1000  Now, the outflow is 10 gal of brine. This is 10/1000 = 0.01 (=1%) of the total brine content in the tank, hence 0.01 of the salt content y(t), that is, 0.01y(t). Thus the model is the ODE dy = 50 − 0.01 y (t ) = −0.01( y (t ) − 5000) dt
  • 6. Step 2. Solution of the model. The ODE is separable. Separation, integration, And taking exponents on both sides gives dy = −0.01dt y − 5000 ln y − 5000 = −0.01t + c * −0.01t + c * y − 5000 = e −0.01t y − 5000 = ce
  • 7. Continue… Initially the tank contains 100 lb of salt. Hence y(0)=100 is the initial condition that will give the unique solution. Substituting y=100 and t=0 in The last equation gives .Hence c=-4900. Hence The amount of salt in the tank at time t is −0.01t y (t ) = 5000 − 4900e
  • 8. Example 2: Mixing problems in Cascade Tank Two tanks are cascaded as in Figure 1. Tank 1 initially contains 30 kilograms of salt dissolved in 100 liters of brine, while tank 2 contains 150 liters of brine in which 70 kilograms Of salt are dissolved. At time zero, a brine solution containing ½ kilogram of salt per liter is added to tank 1 at the rate of 10 liters per minute. Tank 1 has an output that discharges brine into tank 2 at the rate of 5 liters per minute, and tank 2 has an output of 15 liters per minute. Determine the amount of salt in each tank at any time t (y1(t) and y2(t)).
  • 10. Solution: Let y1(t) denotes the amount of salt in tank 1 at time t. dy salt inflow salt outflow Rate of change : = − dt rate rate Salt entering tank 1 :  l   1 kg  10 ×  = 5 kg/min  min   2 l 
  • 11. Continue… Salt out of tank 1 :  y1 (t ) kg   l   ×5  = 0.05 y1 kg/min  100 l   min  dy1 = 5 − 0.05 y1 dt = −0.05 ( y1 − 100 ) dy1 ∫ y1 − 100 = ∫ −0.05dt ln y1 − 100 = −0.05t + c1 y1 − 100 = exp ( −0.05t + c1 ) = ce −0.05t ( where c = ec1 )
  • 12. Continue… Initially, the tank contains 30kg of salt. Hence, y1 ( 0 ) = 30 −0.05( 0 ) 30 − 100 = ce c = −70 −0.05t ∴ y1 (t ) = 100 − 70e − t / 20 = 100 − 70e
  • 13. Continue… Let y2(t) denotes the amount of salt in tank 2 at time t. Rate of change : Salt entering tank 2-Salt out of tank 2 Salt entering tank 2: = salt out tank 1 = 0.05 y1 = 0.05 (100 − 70e − t / 20 ) kg/min − t / 20 = 5 − 3.5e
  • 14. Continue… Salt out of tank 2 :  y2 (t ) kg   l  1   ×  15 = y2 kg/min  150 l   min  10 dy2 − t / 20 1 = 5 − 3.5e − y2 dt 10 dy2 1 − t / 20 + y2 = 5 − 3.5e dt 10 This is a non-homogeneous 1st order ODE
  • 15. Continue… Solve the homogeneous part : dy2 1 + y2 = 0 dt 10 1 1 ∫ y2 dy2 = − 10 ∫ dt 1 ln y2 = − t 10 − t /10 y2 = e
  • 16. Continue… −t /10 y2 = e ⋅v −t /10  1  −t /10 y2 ' = e ⋅ v'+ v − e  10  Substitute into the ODE :-  1  − t /10 1 − t /10 e− t /10 ⋅ v '− v   e + (e ⋅ v ) = 5 − 3.5e − t /20  10  10 − t /10 dv − t /20 e = 5 − 3.5e dt
  • 17. Continue… ∫ ∫  5 e − 3.5 e dt t /10 t / 20 dv =  t /10 t / 20 v = 50 e − 70 e + c2 ∴ y2 = e − t /10 ( 50 e t /10 − 70 e t / 20 + c2 ) − t / 20 − t /10 = 50 − 70 e + c2 e
  • 18. Continue… Initially, the tank contains 70kg of salt. Hence, y2 ( 0 ) = 70 ( 0) ( 0) 70 = 50 − 70e + c2 e c2 = 90 − t / 20 − t /10 ∴ y2 = 50 − 70e + 90e
  • 19. Leaking Tank. Outflow of Water Through a Hole (Torricelli’s Law) The law concerns the outflow of water from a cylindrical tank with a hole at the bottom. You are asked to find the height of the water in the tank at any time if the tank has diameter 2 m, the hole has diameter 1 cm, and the initial height of the water when the hole is opened is 2.25 m. When will the tank be empty?
  • 20. Physical information Under the influence of gravity the out-flowing Water has velocity v(t ) = 0.600 2 gh(t ) (Torricelli’s Law) Where h(t) is the height of the water above the hole at time t, g = 980cm / s 2 = 32.17 ft / s 2 and is the acceleration of gravity at the surface of the earth.
  • 21. Solution. Step 1. Setting up the model. To get an equation, we relate the decrease in Water level h(t) to the outflow. The volume ∆V of the outflow during a short time ∆t is ∆V = Av∆t (A=Area of hole) ∆V must equal the change ∆V* of the volume of the water in the tank. Now (B=Cross-sectional ∆V * = − B∆h area of tank)
  • 22. Continue… Where ∆h(>0) is the decrease of the height h(t) of the water. The minus sign appears because the volume of the water in the tank decreases. Equating ∆V and ∆V * gives − B∆h = Av∆t
  • 23. Continue… Now we express v according to Torricelli’s Law And then let ∆t (the length of the time interval considered) approach 0 – this is a standard way Of obtaining an ODE as a model. That is, we Have ∆h A A = − v = − 0.600 2 gh(t ) ∆t B B And by letting ∆t→0 we obtain the ODE dh A = −26.56 h dt B
  • 24. Continue… Where 26.56 = 0.600 2 × 980 This is our model, a first-order ODE.
  • 25. Step 2. General solution. Our ODE is separable. A/B is constant. Separation and integration gives dh A = −26.56 dt h B 1 − A ∫ h dh = − ∫ 26.56 B dt 2 1 2 h A = −26.56 t + c 1 B 2 A 2 h = −26.56 t + c B
  • 26. Continue… A 2 h = −26.56 t + c B A c Dividing by 2 and squaring givesh = ( −13.28 t + ) 2 B 2 c Here c = 2 A Inserting 13 .28 = 13 .28 × 0 .5 2 π 2 = 0 .000332 yields B 100 π The general solution 2 h(t ) = (c − 0.000332t )
  • 27. Step 3. Particular solution. The initial height (the initial condition) is h(0)=225 cm. Substitution of t=0 and h=225 2 Gives from the general solution (c ) = 225, c = 15.00 and thus the particular solution 2 hp (t ) = (15.00 − 0.000332t )
  • 28. Step 4. Tank empty. h p (t ) = 0 if t=15.00/0.000332 = 45181 s = 12.6 hours
  • 29. Prepared By Annie ak Joseph Prepared By Annie ak Joseph Session 2007/2008