33
Modelling with Differential Equations Modelling with Differential Equations

Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Modelling with Differential Equations

Modelling with Differential Equations

Page 2: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

I Problems with inflow/outflow

I Equation for concentration/mass/volume of afluid/element/product

I rate of change = ratein − rateout

Modelling with Differential Equations

Page 3: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

I Problems with inflow/outflow

I Equation for concentration/mass/volume of afluid/element/product

I rate of change = ratein − rateout

Modelling with Differential Equations

Page 4: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

I Problems with inflow/outflow

I Equation for concentration/mass/volume of afluid/element/product

I rate of change = ratein − rateout

Modelling with Differential Equations

Page 5: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

I Problems with inflow/outflow

I Equation for concentration/mass/volume of afluid/element/product

I rate of change = ratein − rateout

Modelling with Differential Equations

Page 6: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Problem #5 in Section 2.3

I A tank contains 100 gal of water and 50 oz of salt.

I Water containing a salt concentration of14 (1 + 1

2 sin(t)) oz/gal flows into the tank at a rate of2 gal/min and

I The mixture of the tank flows out at the same rate.

(a) Find the amount of salt in the tank at any time

(b) Plot the solution for a time period long enough so that you seethe ultimate behavior of the graph.

(c) The long time behavior of the solution is an oscillation about acertain constant level. What is this level? What is theamplitude of the oscillation.

Modelling with Differential Equations

Page 7: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Problem #5 in Section 2.3

I A tank contains 100 gal of water and 50 oz of salt.

I Water containing a salt concentration of14 (1 + 1

2 sin(t)) oz/gal flows into the tank at a rate of2 gal/min and

I The mixture of the tank flows out at the same rate.

(a) Find the amount of salt in the tank at any time

(b) Plot the solution for a time period long enough so that you seethe ultimate behavior of the graph.

(c) The long time behavior of the solution is an oscillation about acertain constant level. What is this level? What is theamplitude of the oscillation.

Modelling with Differential Equations

Page 8: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Problem #5 in Section 2.3

I A tank contains 100 gal of water and 50 oz of salt.

I Water containing a salt concentration of14 (1 + 1

2 sin(t)) oz/gal flows into the tank at a rate of2 gal/min and

I The mixture of the tank flows out at the same rate.

(a) Find the amount of salt in the tank at any time

(b) Plot the solution for a time period long enough so that you seethe ultimate behavior of the graph.

(c) The long time behavior of the solution is an oscillation about acertain constant level. What is this level? What is theamplitude of the oscillation.

Modelling with Differential Equations

Page 9: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Problem #5 in Section 2.3

I A tank contains 100 gal of water and 50 oz of salt.

I Water containing a salt concentration of14 (1 + 1

2 sin(t)) oz/gal flows into the tank at a rate of2 gal/min and

I The mixture of the tank flows out at the same rate.

(a) Find the amount of salt in the tank at any time

(b) Plot the solution for a time period long enough so that you seethe ultimate behavior of the graph.

(c) The long time behavior of the solution is an oscillation about acertain constant level. What is this level? What is theamplitude of the oscillation.

Modelling with Differential Equations

Page 10: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Problem #5 in Section 2.3

I A tank contains 100 gal of water and 50 oz of salt.

I Water containing a salt concentration of14 (1 + 1

2 sin(t)) oz/gal flows into the tank at a rate of2 gal/min and

I The mixture of the tank flows out at the same rate.

(a) Find the amount of salt in the tank at any time

(b) Plot the solution for a time period long enough so that you seethe ultimate behavior of the graph.

(c) The long time behavior of the solution is an oscillation about acertain constant level. What is this level? What is theamplitude of the oscillation.

Modelling with Differential Equations

Page 11: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Problem #5 in Section 2.3

I A tank contains 100 gal of water and 50 oz of salt.

I Water containing a salt concentration of14 (1 + 1

2 sin(t)) oz/gal flows into the tank at a rate of2 gal/min and

I The mixture of the tank flows out at the same rate.

(a) Find the amount of salt in the tank at any time

(b) Plot the solution for a time period long enough so that you seethe ultimate behavior of the graph.

(c) The long time behavior of the solution is an oscillation about acertain constant level. What is this level? What is theamplitude of the oscillation.

Modelling with Differential Equations

Page 12: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Problem #5 in Section 2.3

I A tank contains 100 gal of water and 50 oz of salt.

I Water containing a salt concentration of14 (1 + 1

2 sin(t)) oz/gal flows into the tank at a rate of2 gal/min and

I The mixture of the tank flows out at the same rate.

(a) Find the amount of salt in the tank at any time

(b) Plot the solution for a time period long enough so that you seethe ultimate behavior of the graph.

(c) The long time behavior of the solution is an oscillation about acertain constant level.

What is this level? What is theamplitude of the oscillation.

Modelling with Differential Equations

Page 13: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Problem #5 in Section 2.3

I A tank contains 100 gal of water and 50 oz of salt.

I Water containing a salt concentration of14 (1 + 1

2 sin(t)) oz/gal flows into the tank at a rate of2 gal/min and

I The mixture of the tank flows out at the same rate.

(a) Find the amount of salt in the tank at any time

(b) Plot the solution for a time period long enough so that you seethe ultimate behavior of the graph.

(c) The long time behavior of the solution is an oscillation about acertain constant level. What is this level?

What is theamplitude of the oscillation.

Modelling with Differential Equations

Page 14: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Problem #5 in Section 2.3

I A tank contains 100 gal of water and 50 oz of salt.

I Water containing a salt concentration of14 (1 + 1

2 sin(t)) oz/gal flows into the tank at a rate of2 gal/min and

I The mixture of the tank flows out at the same rate.

(a) Find the amount of salt in the tank at any time

(b) Plot the solution for a time period long enough so that you seethe ultimate behavior of the graph.

(c) The long time behavior of the solution is an oscillation about acertain constant level. What is this level? What is theamplitude of the oscillation.

Modelling with Differential Equations

Page 15: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Model

I y(t) amount of salt at time t

I y(0) = 50

I Volume = constant = 100.

I Equation

dy(t)

dt=

1

2

(1 +

1

2sin(t)

)− 1

50y(t)

I Solution

y(t) =63150

2501e−t/50 + 25 +

25

5002sin(t) − 625

2501cos(t)

Modelling with Differential Equations

Page 16: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Model

I y(t) amount of salt at time t

I y(0) = 50

I Volume = constant = 100.

I Equation

dy(t)

dt=

1

2

(1 +

1

2sin(t)

)− 1

50y(t)

I Solution

y(t) =63150

2501e−t/50 + 25 +

25

5002sin(t) − 625

2501cos(t)

Modelling with Differential Equations

Page 17: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Model

I y(t) amount of salt at time t

I y(0) = 50

I Volume = constant = 100.

I Equation

dy(t)

dt=

1

2

(1 +

1

2sin(t)

)− 1

50y(t)

I Solution

y(t) =63150

2501e−t/50 + 25 +

25

5002sin(t) − 625

2501cos(t)

Modelling with Differential Equations

Page 18: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Model

I y(t) amount of salt at time t

I y(0) = 50

I Volume = constant = 100.

I Equation

dy(t)

dt=

1

2

(1 +

1

2sin(t)

)− 1

50y(t)

I Solution

y(t) =63150

2501e−t/50 + 25 +

25

5002sin(t) − 625

2501cos(t)

Modelling with Differential Equations

Page 19: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Model

I y(t) amount of salt at time t

I y(0) = 50

I Volume = constant = 100.

I Equation

dy(t)

dt=

1

2

(1 +

1

2sin(t)

)− 1

50y(t)

I Solution

y(t) =63150

2501e−t/50 + 25 +

25

5002sin(t) − 625

2501cos(t)

Modelling with Differential Equations

Page 20: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Model

I y(t) amount of salt at time t

I y(0) = 50

I Volume = constant = 100.

I Equation

dy(t)

dt=

1

2

(1 +

1

2sin(t)

)− 1

50y(t)

I Solution

y(t) =63150

2501e−t/50 + 25 +

25

5002sin(t) − 625

2501cos(t)

Modelling with Differential Equations

Page 21: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Model

I y(t) amount of salt at time t

I y(0) = 50

I Volume = constant = 100.

I Equation

dy(t)

dt=

1

2

(1 +

1

2sin(t)

)− 1

50y(t)

I Solution

y(t) =63150

2501e−t/50 + 25 +

25

5002sin(t) − 625

2501cos(t)

Modelling with Differential Equations

Page 22: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Plot of y(t)

0 200 400 600 800 1000

2530

3540

4550

x

f

Modelling with Differential Equations

Page 23: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Plot of y(t)

0 200 400 600 800 1000

2530

3540

4550

x

f

Modelling with Differential Equations

Page 24: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Plot of y(t)

0 200 400 600 800 1000

2530

3540

4550

x

f

Modelling with Differential Equations

Page 25: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Problem #5 in Section 2.3

I A tank contains 100 gal of water and 50 oz of salt.

I Water containing a salt concentration of14 (1 + 1

2 sin(t)) oz/gal flows into the tank at a rate of2 gal/min and

I The mixture of the tank flows out at the same rate.

(a) Find the amount of salt in the tank at any time

(b) Plot the solution for a time period long enough so that you seethe ultimate behavior of the graph.

(c) The long time behavior of the solution is an oscillation about acertain constant level. What is this level? What is theamplitude of the oscillation.

Modelling with Differential Equations

Page 26: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Problem #5 in Section 2.3

I A tank contains 100 gal of water and 50 oz of salt.

I Water containing a salt concentration of14 (1 + 1

2 sin(t)) oz/gal flows into the tank at a rate of2 gal/min and

I The mixture of the tank flows out at the same rate.

(a) Find the amount of salt in the tank at any time

(b) Plot the solution for a time period long enough so that you seethe ultimate behavior of the graph.

(c) The long time behavior of the solution is an oscillation about acertain constant level. What is this level? What is theamplitude of the oscillation.

Modelling with Differential Equations

Page 27: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Problem #5 in Section 2.3

I A tank contains 100 gal of water and 50 oz of salt.

I Water containing a salt concentration of14 (1 + 1

2 sin(t)) oz/gal flows into the tank at a rate of2 gal/min and

I The mixture of the tank flows out at the same rate.

(a) Find the amount of salt in the tank at any time

(b) Plot the solution for a time period long enough so that you seethe ultimate behavior of the graph.

(c) The long time behavior of the solution is an oscillation about acertain constant level. What is this level? What is theamplitude of the oscillation.

Modelling with Differential Equations

Page 28: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Problem #5 in Section 2.3

I A tank contains 100 gal of water and 50 oz of salt.

I Water containing a salt concentration of14 (1 + 1

2 sin(t)) oz/gal flows into the tank at a rate of2 gal/min and

I The mixture of the tank flows out at the same rate.

(a) Find the amount of salt in the tank at any time

(b) Plot the solution for a time period long enough so that you seethe ultimate behavior of the graph.

(c) The long time behavior of the solution is an oscillation about acertain constant level. What is this level? What is theamplitude of the oscillation.

Modelling with Differential Equations

Page 29: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Problem #5 in Section 2.3

I A tank contains 100 gal of water and 50 oz of salt.

I Water containing a salt concentration of14 (1 + 1

2 sin(t)) oz/gal flows into the tank at a rate of2 gal/min and

I The mixture of the tank flows out at the same rate.

(a) Find the amount of salt in the tank at any time

(b) Plot the solution for a time period long enough so that you seethe ultimate behavior of the graph.

(c) The long time behavior of the solution is an oscillation about acertain constant level. What is this level? What is theamplitude of the oscillation.

Modelling with Differential Equations

Page 30: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Problem #5 in Section 2.3

I A tank contains 100 gal of water and 50 oz of salt.

I Water containing a salt concentration of14 (1 + 1

2 sin(t)) oz/gal flows into the tank at a rate of2 gal/min and

I The mixture of the tank flows out at the same rate.

(a) Find the amount of salt in the tank at any time

(b) Plot the solution for a time period long enough so that you seethe ultimate behavior of the graph.

(c) The long time behavior of the solution is an oscillation about acertain constant level. What is this level? What is theamplitude of the oscillation.

Modelling with Differential Equations

Page 31: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Problem #5 in Section 2.3

I A tank contains 100 gal of water and 50 oz of salt.

I Water containing a salt concentration of14 (1 + 1

2 sin(t)) oz/gal flows into the tank at a rate of2 gal/min and

I The mixture of the tank flows out at the same rate.

(a) Find the amount of salt in the tank at any time

(b) Plot the solution for a time period long enough so that you seethe ultimate behavior of the graph.

(c) The long time behavior of the solution is an oscillation about acertain constant level.

What is this level? What is theamplitude of the oscillation.

Modelling with Differential Equations

Page 32: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Problem #5 in Section 2.3

I A tank contains 100 gal of water and 50 oz of salt.

I Water containing a salt concentration of14 (1 + 1

2 sin(t)) oz/gal flows into the tank at a rate of2 gal/min and

I The mixture of the tank flows out at the same rate.

(a) Find the amount of salt in the tank at any time

(b) Plot the solution for a time period long enough so that you seethe ultimate behavior of the graph.

(c) The long time behavior of the solution is an oscillation about acertain constant level. What is this level?

What is theamplitude of the oscillation.

Modelling with Differential Equations

Page 33: Modelling with Di erential Equations - University of Notre ...aache/slides-20580-sp2017/april05.pdfProblem #5 in Section 2.3 I A tank contains 100 gal of water and 50 oz of salt. I

Problem #5 in Section 2.3

I A tank contains 100 gal of water and 50 oz of salt.

I Water containing a salt concentration of14 (1 + 1

2 sin(t)) oz/gal flows into the tank at a rate of2 gal/min and

I The mixture of the tank flows out at the same rate.

(a) Find the amount of salt in the tank at any time

(b) Plot the solution for a time period long enough so that you seethe ultimate behavior of the graph.

(c) The long time behavior of the solution is an oscillation about acertain constant level. What is this level? What is theamplitude of the oscillation.

Modelling with Differential Equations