Soldato
- Joined
- 20 Mar 2007
- Posts
- 3,095
- Location
- Norwich
Any Mathematicians feel like giving me a hand?
Because I'm lazy, let's say theta = x
A cold liquid at temperature x degrees Celsius, where x < 20, is standing in a warm room. The temperature of the liquid obeys the differential equation
dx/dt = 2(20 - x)
where t is measured in hours.
Find the general solution of this differential equation.
Here are my workings:
--> dx/dt = 2(20 - x)
--> Int(1/[40 - 2x]) dx = Int(1) dt
--> 1/2 ln(40 - 2x) = -t
--> 40 - 2x = e^-2t
--> x = 20 - (e^-2t)/2
Now the actual answer apparently is x = 20 - Ae^-2t, where I'm assuming A is a constant.
Can anyone see where I've slipped up and where I should've added in the constant?
Thank you in advance.
Because I'm lazy, let's say theta = x
A cold liquid at temperature x degrees Celsius, where x < 20, is standing in a warm room. The temperature of the liquid obeys the differential equation
dx/dt = 2(20 - x)
where t is measured in hours.
Find the general solution of this differential equation.
Here are my workings:
--> dx/dt = 2(20 - x)
--> Int(1/[40 - 2x]) dx = Int(1) dt
--> 1/2 ln(40 - 2x) = -t
--> 40 - 2x = e^-2t
--> x = 20 - (e^-2t)/2
Now the actual answer apparently is x = 20 - Ae^-2t, where I'm assuming A is a constant.
Can anyone see where I've slipped up and where I should've added in the constant?
Thank you in advance.