I need the COMPLETE formula for magnetic field outside the solenoid.
So the situation I am stuck in is I have to solve this question:
The magnetic field at the centre of coil of $n$ turns, bent in the form of a square of side $2l$, carrying current $I$ is
Options: (A) $\frac {\sqrt{2}μ_0nI}{\pi l}$ (B) $\frac {\sqrt{2}μ_0nI}{2\pi l}$ (C) $\frac {\sqrt{2}μ_0nI}{4\pi l}$ (D)$\frac {2μ_0nI}{\pi l}$
This is how I visualized it:
(I am really, really sorry for the poor drawing, but I could figure out a better software)
SO I think of this as 4 circular coils/solenoids (and I arbitrarily took the direction of current, since I am not asked to find direction of magnetic field, only magnitude, this shouldn't matter), and I see that solenoids on opposite sides of the square have same direction of magnetic field.
Now I think of the formula for the magnetic field at a point outside the solenoid/circular coil as
$B = \frac{μ_0}{4\pi} \times \frac {NI}{R}$
where $N$ is number of turns, $I$ is current through solenoid/circular coil and $R$ is perpendicular distance of point from the circular coil/solenoid.
So when I apply this formula for each side of the square, I take $N = n/4$ and $R = l$
$B = \frac {μ_0nI}{4\pi4l}= \frac {μ_0nI}{16\pi l} $
Since opposite sides have same direction of magnetic field, the resultant magnetic field is the magnitude of the vector sum of perpendicular vectors having magnitude $2B$.
Since they are perpendicular: the magnitude is just
$\sqrt {(2B)^2 + (2B)^2}= \sqrt {2 \times (2B)^2 } = \sqrt{2} \times 2B = \sqrt{2} \times \frac {μ_0nI}{8\pi l} = \frac {\sqrt{2}μ_0nI}{8\pi l}$
Now this is close to the options, but I fear that I am missing something in my formula for the magnetic field. Hence I request you to correct my formula.
NOTE: I only need the formula, please give me the formula, and not means to derive it from Biot-Savart and Ampere's circuital law. Derivations I will be doing 2 years later when I have Biot-Savart and Amprer's circuital law in my curriculum.
NOTE 2: You could call that a duplicate of my question https://physics.stackexchange.com/questions/155119/a-few-questions-related-to-magnetic-fields but I request not to close this as that has been put on hold and I am sure its visibility is damaged already and I can't wait for busy moderators to open the question again.
Since, I only need the formula (assuming that my approach to the question is correct), I request anyone with sufficient knowledge to either post the formula or correct my approach ASAP.
Thanks in advance.
PLEASE, PLEASE, PLEASE do NOT CLOSE this question straightforwardly if you have any objections, tell me what's amiss in the comments.