1. PF Contest - Win "Conquering the Physics GRE" book! Click Here to Enter
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Help with finite difference for matlab

  1. Sep 26, 2011 #1
    I have a question which states that I have to solve Phi using the finite difference method in matlab.

    Phi = Phi_infinity - Phi_t

    where Phi_infinity = 1 - e^2

    and Phi_t = A(t).B(e)

    A has the differential for dA/dt = -c^2. A
    and B 1/e.d/de(edB/de)=-c^2.B

    where e is a separation constant.

    I know the boundary and initial condition
    at t = 0 Phi = 0
    at e = 0 Phi = 1
    at e = 1 Phi = 0

    Please help I dont know where to start
  2. jcsd
  3. Sep 27, 2011 #2
    What was the original problem? Separation of variables in order to solve the Fourier equation in one dimension? Initial condition of zero everywhere in domain. Then Dirichlet boundary condition at one end to cause the transience?
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook