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

Finite Difference Matlab Code For ODE'S

  1. Feb 13, 2007 #1
    I am having a problem coding a Matlab code that solves a second ODE equation which I give below:



    M = 1 (Mass of a black hole),
    nu = 0.74734+0.17792*i,
    J is a function of x,
    i represents a complex number.

    This equation is very complex to solve. Fistly I tried the Matlab shooting
    method and did not work because this equation is singular at the boundries i.e
    0 and 1. Now I am trying to solve it using Matlab Finite Difference Method. I must point out that
    this problem has no analytic solutions and we hope that it can be solved numerically.

    Can any one out there help me with this problem.
    Last edited: Feb 14, 2007
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?