Professional Documents
Culture Documents
by
Dr. Ghulam Murtaza
Example 1
When t = 0, T = 100;
We can go one step further to again find value of k from the data
known to us for the system i.e., when t = 1min, T = 90 degree C.
Example 2: A Model from Biology
• Consider N to be number of organisms present at any time t.
• The after Δt time they will have increased by amount ΔN
• This change ΔN is directly proportional to N and the time interval Δt.
Mathematical model
When time t = 1 hour, the N icreases by 10%. Let us put this in the model.
Mathematical model
Mathematical model
b = 0.01
• A switch
• An inductor (L)
• A capacitor
Modeling Electrical Circuits
• The voltage drop across a resistor is proportional to
the current flowing through it (Ohm’s law).
• The proportionality constant is R (resistance
measured in ohms)
• The current is measured in amperes
• And Voltage is measured in volts.
Ohm’s law
Modeling Electrical Circuits
• Experiments have shown that the voltage drop
across an inductor is proportional to the
instantaneous time rate of change of current (I).
• The constant of proportionality is called inductance
(L) measured in henry and
• Time is measured in seconds.
• The relationship is
R
VR
VL
VE L
Modeling Electrical Circuits
Using Kirchoff’s voltage law: VE = VL + VR
R
VR
VL
VE L
Example 1: modeling of an RL series circuit
Mathematical model:
• R = 10 ohms; L = 20 H,
VE = 20 volts.
• Initial condition :
I(0) = 0.
The block diagram in
MATLAB/simulink is
R
VR
VL
VE L
Example 1: modeling of an RL series circuit
The simulation results show that
• the current in the loop increases and
• approaches to a constant value of 2 Amperes when time becomes large.
R
VR
VL
VE L
Example 1: Modeling of Flow of Salt in a Water Tank
• A tank contains M (liter) of water in
which are dissolved Q (kg) of salt.
• About P (liters) of Brine (salted
water) is dissolved into the tank per
minute . Each liter contains S kg of
dissolved salt.
• The mixture is kept uniform by
stirring and it runs out at the same
rate.
Model this system to find the
amount of salt in the water tank.
Example 1: Modeling of Flow of Salt in a Water Tank
Let us define the total amount of salt in the tank at any
time t equal to y(t).
Model equation
The mixture is kept uniform by stirring. It runs out at the same rate.
Mathematical Model
y(0) = 40,
It is an initial value problem
Order: 1;
Linearity: It is a linear equation as it has no product term
Example 1: Modeling of Flow of Salt in a Water Tank
Integrating we get
y(0) = 40