Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

16
  • 1
    $\begingroup$ Well, this type of problem is just… hard. Have you tried using solution for small $\lambda$ (or small rEnd1) as initial guess and increase its value slowly? Here's an example. $\endgroup$ Commented May 20, 2018 at 3:45
  • $\begingroup$ @xzczd thanks for the comment. I did start with small $\lambda$ but due to the demanding precision of the initial guess, I don't think the solution initial value for small $\lambda$ can be used for large $\lambda$ case. As for lower rEnd1, I tried that too. The problem is that lowering rEnd1 requires a good knowledge of the asymptotic behavior of $\Phi$ at large r but I couldn't find one. If I lower rEnd1 and demand $\Phi(rEnd1) =0$ with brute-force, the shape of the solution is changed a lot, unfortunately. $\endgroup$ Commented May 20, 2018 at 4:27
  • 1
    $\begingroup$ Why are you assuming A[rStart1] == 1 in the λ == 300 computation? $\endgroup$ Commented May 20, 2018 at 13:24
  • $\begingroup$ @bbgodfrey that are two evidences. 1) small $r$ expansion, 2) numerically, if I set A(0) equal to a different value, say 1.3, it will be pulled down to 1 immediately. I have added some code for the expansion. $\endgroup$ Commented May 20, 2018 at 14:46
  • 1
    $\begingroup$ There are some useful tools for formatting posts here and here. You may also find this helpful. $\endgroup$ Commented May 20, 2018 at 16:06