I want to find magnetic field generated by infinitly long wire using ampere's law but ampere's law is gives us scaler how can i get vectorial solutions
ampere's law : u0*i/(2*pi*d)
Best Answer
You may not have the definition of it that you need.
AmpereB = @(m0u,I,r) (mu0.*I)./(2*pi*r); % µₒ = Magnetic Constant, I = Current (A), r = radius (m), Ref: https://en.wikipedia.org/wiki/Amp%C3%A8re%27s_circuital_law
Best Answer