-f''-(2/x)f'+(2/x^2)f+f^3-f=0(adsbygoogle = window.adsbygoogle || []).push({});

the boundary condition is f(x=0)=0 and f(x=\infty)=1

how to solve f numerically?

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# How to solve this nonlinear differential equation numerically?

**Physics Forums | Science Articles, Homework Help, Discussion**