Ask Experts Questions for FREE Help !
Ask
    savage44's Avatar
    savage44 Posts: 6, Reputation: 1
    New Member
     
    #1

    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 constants
    I 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
    Unknown008's Avatar
    Unknown008 Posts: 8,076, Reputation: 723
    Uber Member
     
    #2

    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?
    savage44's Avatar
    savage44 Posts: 6, Reputation: 1
    New Member
     
    #3

    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
    Unknown008's Avatar
    Unknown008 Posts: 8,076, Reputation: 723
    Uber Member
     
    #4

    Feb 24, 2011, 09:45 AM

    I'm not sure what you are asking here... sorry :(

    When you evaluate the integral, you get:



    And then you can simplify.
    jcaron2's Avatar
    jcaron2 Posts: 986, Reputation: 204
    Senior Member
     
    #5

    Feb 24, 2011, 01:58 PM
    Quote Originally Posted by savage44 View Post
    How to solve : dT/dt = k(T-Tm)....T(0) = To....k,Tm,&To are constants
    I 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



    The answer to that, by inspection is simply



    Multiplying your entire equation by u(t), we then get





    Now, notice that the entire left side is the derivative of T*u(t):



    so



    Now we can integrate both sides with respect to t:





    ,

    where C is a constant. This is where your initial conditions come in (to find the value of C).



    so







    Plugging that back into the solution for T(t), we finally get:



    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. :)
    jcaron2's Avatar
    jcaron2 Posts: 986, Reputation: 204
    Senior Member
     
    #6

    Feb 24, 2011, 02:09 PM
    Quote Originally Posted by Unknown008 View Post
    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
    Unknown008's Avatar
    Unknown008 Posts: 8,076, Reputation: 723
    Uber Member
     
    #7

    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 :)
    Unknown008's Avatar
    Unknown008 Posts: 8,076, Reputation: 723
    Uber Member
     
    #8

    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.
    jcaron2's Avatar
    jcaron2 Posts: 986, Reputation: 204
    Senior Member
     
    #9

    Feb 25, 2011, 07:16 AM
    Quote Originally Posted by Unknown008 View Post
    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. :)
    jcaron2's Avatar
    jcaron2 Posts: 986, Reputation: 204
    Senior Member
     
    #10

    Feb 25, 2011, 07:26 AM
    Quote Originally Posted by Unknown008 View Post
    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.
    Unknown008's Avatar
    Unknown008 Posts: 8,076, Reputation: 723
    Uber Member
     
    #11

    Feb 25, 2011, 08:01 AM

    I'm starting to get it. I did up to example 5. Example 6 is next! :p
    jcaron2's Avatar
    jcaron2 Posts: 986, Reputation: 204
    Senior Member
     
    #12

    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. :)

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search


Check out some similar questions!

How can I publish my theory about constants physics? [ 2 Answers ]

I have one theory but I don't know how can I published that,

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...

Constants in nature and mathematics [ 1 Answers ]

What is the role of a constant i.e.. Planck's constant in nature?


View more questions Search