Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Solving the Coffee Cup Problems - Differential Equations | MATH 308, Study notes of Differential Equations

Material Type: Notes; Class: Differential Equations; Subject: Mathematics; University: Colgate University; Term: Fall 2002;

Typology: Study notes

Pre 2010

Uploaded on 08/18/2009

koofers-user-7wc
koofers-user-7wc 🇺🇸

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Math 308 Differential Equations Fall 2002
Solving The “Coffee Cup Problem”
The differential equation for H(t), the temperature at time t, is
dH
dt =k(70 H).
Note that
H(t) = 70 (1)
(i.e. H(t) is the function with constant value 70) is a solution to the differential equation. Now assume that
H(t)6= 70. We treat dH
dt as if it really is a fraction, and rewrite the differential equation as
dH
H70 =k dt,
and then integrate both sides:
ZdH
H70 =Zk dt.
This gives us
ln |H70|=kt +C1.
Note the absolute value on the left; recall from Calculus that Rdx
x= ln |x|+c. Now exponentiate both sides
to obtain
|H70|=ekt+C1=eC1ekt =C2ekt,
where C2=eC1. (Note that C2>0.) Now, if H70 >0, then |H70|=H70, and we have
H(t) = 70 + C2ekt .(2)
If H70 <0, then |H70|=(H70), and so
H(t) = 70 C2ekt .(3)
Thus, the solutions to the differential equation are given by (1), (2), and (3). For this example, we see that
we can combine these three formulas into one expression that includes all the solutions:
H(t) = 70 + C3ekt ,
where C3is an arbitrary constant.
If we are given an initial condition
H(0) = H0,
we can find C3in terms of H0by evaluating the solution at t= 0 and setting it equal to H0:
H(0) = 70 + C3e0= 70 + C3=H0,
so C3=H070, and the solution to the initial value problem is
H(t) = 70 + (H070)ekt .
The following plot shows the solutions for H0= 90, H0= 70, and H0= 50, with k= 0.1, for the time
interval 0 t25.
1
pf2

Partial preview of the text

Download Solving the Coffee Cup Problems - Differential Equations | MATH 308 and more Study notes Differential Equations in PDF only on Docsity!

Math 308 Differential Equations Fall 2002

Solving The “Coffee Cup Problem”

The differential equation for H(t), the temperature at time t, is

dH dt

= k(70 − H).

Note that H(t) = 70 (1)

(i.e. H(t) is the function with constant value 70 ) is a solution to the differential equation. Now assume that H(t) 6 = 70. We treat dHdt as if it really is a fraction, and rewrite the differential equation as

dH H − 70

= −k dt,

and then integrate both sides: (^) ∫ dH H − 70

k dt.

This gives us ln |H − 70 | = −kt + C 1.

Note the absolute value on the left; recall from Calculus that

∫ (^) dx x = ln^ |x|^ +^ c. Now exponentiate both sides to obtain |H − 70 | = e−kt+C^1 = eC^1 e−kt^ = C 2 e−kt,

where C 2 = eC^1. (Note that C 2 > 0.) Now, if H − 70 > 0, then |H − 70 | = H − 70, and we have

H(t) = 70 + C 2 e−kt. (2)

If H − 70 < 0, then |H − 70 | = −(H − 70), and so

H(t) = 70 − C 2 e−kt. (3)

Thus, the solutions to the differential equation are given by (1), (2), and (3). For this example, we see that we can combine these three formulas into one expression that includes all the solutions:

H(t) = 70 + C 3 e−kt,

where C 3 is an arbitrary constant. If we are given an initial condition H(0) = H 0 ,

we can find C 3 in terms of H 0 by evaluating the solution at t = 0 and setting it equal to H 0 :

H(0) = 70 + C 3 e^0 = 70 + C 3 = H 0 ,

so C 3 = H 0 − 70, and the solution to the initial value problem is

H(t) = 70 + (H 0 − 70)e−kt.

The following plot shows the solutions for H 0 = 90, H 0 = 70, and H 0 = 50, with k = 0.1, for the time interval 0 ≤ t ≤ 25.

H(t) vs. t

0

20

40

60

80

100

H

5 10 15 20 25 t