Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

A RK method for heat equation with dependent variables

  1. May 2, 2017 #1
    Hello.

    How do I solve this equation without killing the k(y) term:
    1.png

    I managed to derive an analytical solution for this one. I intend to run the numerical solution via Runge-Kutta but I can't stop myself from killing the k(y) term. I'm starting to think I'm doing something wrong... It goes something like this:

    22.png

    Even if I try and keep the k(y) term until I derive the systems of equations required to run Runge-Kutta, the integrator would then numerically kill it anyway. What should I do?
    Any help please?
     
  2. jcsd
  3. May 2, 2017 #2
    Nevermind. Solved it by using a proper substitution.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted