I am using matlab to solve the following ODE
0.02K^2 F''(K)-3.45 F'(K)-3.45=0.08 F(K)
subject to boundary conditions
$F(K=0)=63.09$ and $ F(K=700)=0.$
I found that I had to give bvpinit
an offset such as bvpinit(linspace(1e-3,700,10000),[1 0.1])
from the left boundary 0
because otherwise, I would get an error
Error using ==> bvp4c Unable to solve the collocation equations -- a singular Jacobian encountered
But this isn't really elegant, because the offset seems arbitary. This also did not extend the solution all the way to the left end point 0
. Would appreciate if someone can provide a better solution to this problem. Many thanks.