How to determine the magnetic field in a round circuit using biot-savart law
14 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi everybody, I am doing a project in MATLAB. My project is: using the Biot-Savart law, determine the magnetic field in a round circuit. Here is the equation:

The requirements are:
- Enter the radius of the circle (the round circuit)
- Divide the circle into many tiny straight circuits, and add all the magnetic fields of those circuit (with illustration).
- Draw the graph to illustrate the magnetic lines.
Please give me at least some clue to carry out this project. Thank you so much.
My English is not good, if there are any mistakes, please forgive me. Thanks.
2 Kommentare
Youssef Khmou
am 23 Dez. 2013
i can help with this project, you just give the numerical values of the current I and the absolute permeability .
Antworten (3)
Youssef Khmou
am 23 Dez. 2013
Bearbeitet: Youssef Khmou
am 23 Dez. 2013
The magnetic field B(r) is perpendicular to the the circle, hence it depends on the altitude z, but suppose that we want to evaluate B at the center of circle , ie z=0.
You can use this part as a starting point :
% R=input(' Radius of the circuit [m]:');
r=0.1:0.01:2; % radius
u0=4*pi*1e-7; % Hm^-1.
I=1; % current 1A
%=linspace(0,1e-1,100);
B=(u0/2*pi)*((I*pi)./r);
figure,plot(r,B), xlabel('radius'),ylabel('Magnetic flux');grid on;
Image Analyst
am 23 Dez. 2013
Some clues. For 1, try using inputdlg(). For 3, use plot(). And the FAQ talks about circles: http://matlab.wikia.com/wiki/FAQ#How_do_I_create_a_circle.3F
0 Kommentare
GONTI NIKITHA
am 25 Apr. 2023
% R=input(' Radius of the circuit [m]:');
r=0.1:0.01:2; % radius
u0=4*pi*1e-7; % Hm^-1.
I=1; % current 1A
%=linspace(0,1e-1,100);
B=(u0/2*pi)*((I*pi)./r);
figure,plot(r,B), xlabel('radius'),ylabel('Magnetic flux');grid on;
0 Kommentare
Siehe auch
Kategorien
Mehr zu General Physics finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!