Recent content by Miss_Fire

  1. 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...
  2. 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.
  3. 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)...
  4. 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...
Back
Top