I was solving some problems from a textbook and I found this formula for the radial dependence of the sun's magnetic field, ##B(r) \approx B_{\odot} \Big(\frac{R_{\odot}}{r}\Big)^{1/2}##, where ##B_\odot \approx 0.001T## is the magnetic field strength in the photosphere.
But how can this formula...