|  
               
                |  |  | 
                    
                    
                    
                 |  
 
	
	
		
	
	
  | 
    
      
                |  | New Member |  | 
 
                  
                      Feb 24, 2011, 05:00 AM
                  
                 |  |  
  
    | 
        
        
        
       
        
        How to solve : dT/dt = k(T-Tm)... T(0) = To... k,Tm,&To are constants
       
                  
        How to solve : dT/dt = k(T-Tm)... T(0) = To... k,Tm,&To are constantsI would like to try to solve this using Maple software, but not sure what the steps are. If not with Maple just showing the steps would be a great help.
 
 Thanks
 |  
    | 
      
      
      
      
        
      
            
      
        
      
      
      
     |  
	
		
	
	
  | 
    
      
              |  | Uber Member |  | 
 
                  
                      Feb 24, 2011, 07:34 AM
                  
                 |  |  
  
    | 
        
        
        
       
                  
        
Is that what you are asking for?
 )  
Then, to solve this, divide by (T - Tm) and multiply by dt, on both sides, adding the integration sign:
   
When t = 0, T = To 
When t = t, T = T.
 
Hence:
   
Can you complete it?
     |  
    | 
      
      
      
      
        
      
            
      
        
      
      
      
     |  
	
		
	
	
  | 
    
      
                |  | New Member |  | 
 
                  
                      Feb 24, 2011, 09:21 AM
                  
                 |  |  
  
    | 
        
        
        
       
        
        Comment on Unknown008's post
       
                  
        I'm not sure how to go about the limits(?)... T -> To  &  t -> 0
 |  
    | 
      
      
      
      
        
      
            
      
        
      
      
      
     |  
	
		
	
	
  | 
    
      
              |  | Uber Member |  | 
 
                  
                      Feb 24, 2011, 09:45 AM
                  
                 |  |  
  
    | 
        
        
        
       
                  
        
I'm not sure what you are asking here... sorry :(
 
When you evaluate the integral, you get:
  - \ln(T_o - T_m) = k(t - 0))  
And then you can simplify.
     |  
    | 
      
      
      
      
        
      
            
      
        
      
      
      
     |  
	
		
	
	
  | 
    
      
              |  | Senior Member |  | 
 
                  
                      Feb 24, 2011, 01:58 PM
                  
                 |  |  
  
    | 
        
        
        
       
                  
        
	
		
			
			
				
					  Originally Posted by savage44   How to solve : dT/dt = k(T-Tm)....T(0) = To....k,Tm,&To are constantsI would like to try to solve this using Maple software, but not sure what the steps are. If not with Maple just showing the steps would be a great help.
 
 Thanks
 First the manual way:
 )    
This is a simple linear first-order differential equation.  Now we need to find an integrating factor u(t) that satisfies
  = u'(t))  
The answer to that, by inspection is simply
  = e^{-kt})  
Multiplying your entire equation by u(t), we then get
  \cdot T' - u(t) \cdot kT = -kT_m \cdot u(t))    
Now, notice that the entire left side is the derivative of T*u(t):
 ')  
so
 ' = -kT_m e^{-kt})  
Now we can integrate both sides with respect to t:
 ' dt= \int -kT_m e^{-kt}dT)     ,
 
where C is a constant.  This is where your initial conditions come in (to find the value of C).
 =T_0)  
so
 = T_m+Ce^{0 \cdot t}=T_0)      
Plugging that back into the solution for T(t), we finally get:
 = T_m+(T_0-T_m)e^{kt})  
Tadaaah!  There's your final solution.
 
-------------------------------------------------
 
Now, to do it with Maple I think you'd do the following:
DE1 := diff(T(t), t) = k*(T(t) - Tm); 
 dsolve ( { DE1, T(0) = T0 }, T(t) );
 
 
Does it give you the same answer?  My differential equations are almost as rusty as my Maple skills.  :)
     |  
    | 
      
      
      
      
        
      
            
      
        
      
      
      
     |  
	
		
	
	
  | 
    
      
              |  | Senior Member |  | 
 
                  
                      Feb 24, 2011, 02:09 PM
                  
                 |  |  
  
    | 
        
        
        
       
                  
        
	
		
			
			
				
					  Originally Posted by Unknown008   Is that what you are asking for? )  
Then, to solve this, divide by (T - Tm) and multiply by dt, on both sides, adding the integration sign:
   
When t = 0, T = To 
When t = t, T = T.
 
Hence:
   
Can you complete it? In this case it's significantly more complicated than that because T is a function, not a variable.  The goal here is not to find the value of T, but rather to find the function T(t) which satisfies the differential equation under the condition that T(0) = To.
 
If you plug in my answer, T(t)=Tm + (To-Tm)exp(kt), you'll find that it does indeed satisfy the differential equation in general, as well as the specified initial condition that T(0) = To.
 
There's a pretty good primer on solving this type of first-order ODE here:  Pauls Online Notes : Differential Equations - Linear Equations |  
    | 
      
      
      
      
        
      
            
      
        
      
      
      
     |  
	
		
	
	
  | 
    
      
              |  | Uber Member |  | 
 
                  
                      Feb 25, 2011, 06:32 AM
                  
                 |  |  
  
    | 
        
        
        
       
                  
        Um... okay. I see what you mean now. I never did those types of differential equations >.<
 
 Thanks for the link! I'll see if I can understand it :)
 |  
    | 
      
      
      
      
        
      
            
      
        
      
      
      
     |  
	
		
	
	
  | 
    
      
              |  | Uber Member |  | 
 
                  
                      Feb 25, 2011, 07:12 AM
                  
                 |  |  
  
    | 
        
        
        
       
                  
        Hm.. I just read the first example in the site you gave using what I did here and I got the answer, and I then tried that problem, I got the same answer as yours :)
 
 I guess that only when the variables are 'unseparable' that I'll need to use the method of the site you gave me.
 |  
    | 
      
      
      
      
        
      
            
      
        
      
      
      
     |  
	
		
	
	
  | 
    
      
              |  | Senior Member |  | 
 
                  
                      Feb 25, 2011, 07:16 AM
                  
                 |  |  
  
    | 
        
        
        
       
                  
        
	
		
			
			
				
					  Originally Posted by Unknown008   Thanks for the link! I'll see if I can understand it :) I have complete faith that you'll be an first-order ODE expert by the end of the day.  :)
     |  
    | 
      
      
      
      
        
      
            
      
        
      
      
      
     |  
	
		
	
	
  | 
    
      
              |  | Senior Member |  | 
 
                  
                      Feb 25, 2011, 07:26 AM
                  
                 |  |  
  
    | 
        
        
        
       
                  
        
	
		
			
			
				
					  Originally Posted by Unknown008   Hm.. I just read the first example in the site you gave using what I did here and I got the answer, and I then tried that problem, I got the same answer as yours :)
 I guess that only when the variables are 'unseparable' that I'll need to use the method of the site you gave me.
 
I just went back and did this problem using your technique too, and you're absolutely right.
 
Sorry I ever doubted you.  :o
 
So now the OP has two different techniques for solving the DE (three if you include Maple :)).  Yours is more intuitive.
     |  
    | 
      
      
      
      
        
      
            
      
        
      
      
      
     |  
	
		
	
	
  | 
    
      
              |  | Uber Member |  | 
 
                  
                      Feb 25, 2011, 08:01 AM
                  
                 |  |  
  
    | 
        
        
        
       
                  
        I'm starting to get it. I did up to example 5. Example 6 is next! :p
 |  
    | 
      
      
      
      
        
      
            
      
        
      
      
      
     |  
	
		
	
	
  | 
    
      
              |  | Senior Member |  | 
 
                  
                      Feb 25, 2011, 08:16 AM
                  
                 |  |  
  
    | 
        
        
        
       
                  
        Paul's site is pretty awesome, isn't it?  He's got everything on there from basic algebra up through partial differential equations.
 
 Like I said, I'm guessing by the end of the day you'll know more than he does.  :)
 |  
    | 
      
      
      
      
        
      
            
      
        
      
      
      
     |  
 
 
 
  
    | Question Tools | Search this Question |  
    |  |  |  
 
 
Check out some similar questions!
Solving constants for differential equation
 [ 2 Answers ]
If y=a+bx+cx^2 is a solution of  d²y/dx² +2(dy/dx)+4y=4x², I have tried to find the values of a,b and c by taking the derivative and second derivative of the function the subbing these into the differential equation however I can't seem to cancel out much to get to a single constant to use to sub...
 
Spring constants
 [ 1 Answers ]
An elastic cord is 65 cm long when a wieght of 75N hangs from it but is 85 cm long when a weight of 180 N hangs from it. What is the "spring" constant k of this elastic cord.  
I know that k= f/x.               Separately, than gives you:       75N/0 .65m = 115.4N/m and 180N/.85m= 211.8N/m.  But I...
 View more  questions
Search
 
 |