Question: solve an ordinary differential equation with implicit initial value

Hi, All, I am trying to solve numerically an ordernary differential equation like this diff(y(x),x) = f(y(x),ya,x) (where ya = y(x=xa), xa a known value) g(y(x=0),ya)=0 The trouble is that the initial value y(x=0) is determined by the second equation which is an implicit equation that has no analytical solution (no explicit expression), and it also depends on the solution at x=xa. Kindly let me know how to write the code to solve it! Thanks. David
Please Wait...