I have been trying to calculate the magnetic field due to a circular loop using Ampère's circuital law. However, I am unable to do the same.
Whenever I apply the law, while integrating length element $\mathrm{d}l$, I get $2\pi r$ [the circumference of the loop]. However, when we apply Biot - Savart Law, the $\pi$ from the circumference gets cancelled with the $\pi$ from the constant of proportionality. Please do point out the error in my derivation.
I would also like to know if the usage of Biot-Savart law is any different from Ampere's Law when considering the restrictions or required conditions.