Recent content by Miss_Fire
-
M
Magnetic field representation in Octave
Homework Statement I need to represent in Octave (using the quiver function) the magnetic field lines around a long wire which carries an electric current around the wire. The magnetic field of an infinitely long straight wire can be obtained by applying Ampere's law.Homework Equations The...- Miss_Fire
- Thread
- Field Magnetic Magnetic field Octave Representation
- Replies: 1
- Forum: Introductory Physics Homework Help
-
M
Calculate Magnetic field using Ampère's law
PS: we use the linspace function to get equidistant points in an interval or the meshgrid function.- Miss_Fire
- Post #4
- Forum: Introductory Physics Homework Help
-
M
Calculate Magnetic field using Ampère's law
Thank you for your explanation! I have one more question: I need to represent this magnetic field in Octave. We generally use the quiver function: quiver(X,Y,U,V) draws vectors at each pair of elements in X and Y. If X and Y are vectors, length(X)=n and length(Y)=m, where [m,n]=size(U)=size(V)...- Miss_Fire
- Post #3
- Forum: Introductory Physics Homework Help
-
M
Calculate Magnetic field using Ampère's law
Homework Statement I have an assignement in school. The statement is: chose a distribution of electric curents for which you can calculate easily the magnetic field (for example, using Ampère's law). Describe your distribution and explain the way you calculate the magnetic field. Homework...- Miss_Fire
- Thread
- Ampere's law Field Law Magnetic Magnetic field
- Replies: 3
- Forum: Introductory Physics Homework Help