Daniel_Feldman
Full Member
- Joined
- Sep 30, 2005
- Messages
- 252
Problem:
P(t) is the population of a country, measured in millions of people.
P(t) satisfies the differential equation dP/dt=kP(185-P) with k constant.
In 1940, population was 150 million and was then growing at a rate of 1 million ppl/year.
I need to predict the population for 1999.
Solution attempt:
dP/dt when P=150 is 1
k(150)(35)=1....so k=1.905E-4
Separation of variables
1/[P(185-P)]=kt
Integrating both sides (using partial fractions) gives
(1/185)ln(abs(185P-P^2))=kt+C
P(0)=150 (setting 1940 as year 0)
(1/185)ln(5250)=C
(1/185)ln(abs(185P-P^2))=(1.905E-4)t+(1/185)ln(5250)
Multiplying through by 185 gives
ln(abs(185P-P^2))=0.03524t+ln(5250)
so
185P-P^2=+/- 5250 e^(0.03524t)
in 1999, t=59
So I get
185P-P^2=+/- 41994
P^2-185P+/- 41994=0
Using quadratic formula
[185 +/ sqrt(185^2 +/- 4(1)(41994))]/2
So the +/- inside the radical must be a +, and I get
P=(185 +/- 449.6)/2
This +/- must also be a +, so the answer should be
P=317 million people.
The computer is telling me this is wrong. Any ideas??
P(t) is the population of a country, measured in millions of people.
P(t) satisfies the differential equation dP/dt=kP(185-P) with k constant.
In 1940, population was 150 million and was then growing at a rate of 1 million ppl/year.
I need to predict the population for 1999.
Solution attempt:
dP/dt when P=150 is 1
k(150)(35)=1....so k=1.905E-4
Separation of variables
1/[P(185-P)]=kt
Integrating both sides (using partial fractions) gives
(1/185)ln(abs(185P-P^2))=kt+C
P(0)=150 (setting 1940 as year 0)
(1/185)ln(5250)=C
(1/185)ln(abs(185P-P^2))=(1.905E-4)t+(1/185)ln(5250)
Multiplying through by 185 gives
ln(abs(185P-P^2))=0.03524t+ln(5250)
so
185P-P^2=+/- 5250 e^(0.03524t)
in 1999, t=59
So I get
185P-P^2=+/- 41994
P^2-185P+/- 41994=0
Using quadratic formula
[185 +/ sqrt(185^2 +/- 4(1)(41994))]/2
So the +/- inside the radical must be a +, and I get
P=(185 +/- 449.6)/2
This +/- must also be a +, so the answer should be
P=317 million people.
The computer is telling me this is wrong. Any ideas??