Matlab code for Biot Savarts quiver plot??! HELP!

Discussion in 'Homework Help' started by klokenton5, Feb 11, 2011.

  1. klokenton5

    Thread Starter New Member

    Feb 11, 2011
    10
    0
    B =ˆφ µoI/2(pi)(r) consider the situation where a continuous line charge of
    σ = 1 C/m with the charge moving 1m/s.

    a. Use Matlab to plot the vector field of B using 3-D quiver plot and B versus distance from the wire r.

    b. Calculate the vector components of E and plot the 3D quiver plot of
    E and a separate plot of E versus distance from the wire r using Coulomb’s Law,
    symmetry, and Matlab.
     
  2. klokenton5

    Thread Starter New Member

    Feb 11, 2011
    10
    0
  3. Georacer

    Moderator

    Nov 25, 2009
    5,142
    1,266
    What is your question exactly?
     
  4. klokenton5

    Thread Starter New Member

    Feb 11, 2011
    10
    0
    Problem:
    Using Biot Savart Law, B =ˆφ µoI/2(pi)(r) consider the situation where a continuous line charge of σ = 1 C/m with the charge moving 1m/s.


    PART A:
    For part a using Matlab I need to plot the vector field of B using the 3-D quiver plot with B versus distance from the wire r relating to Biot Savarts equation given above with parameters given.


    PART B:
    Calculate the vector components of E and plot the 3D quiver plot of
    E and a separate plot of E versus distance from the wire r using Coulomb’s Law and symmetry on Matlab.
     
  5. Georacer

    Moderator

    Nov 25, 2009
    5,142
    1,266
    I 'm not that good with physics, but I can handle the Matlab part. If you or someone else can work out the exact formulas of the fields, I 'm confident I can print them.

    I 'm troubled by that ^φ factor of B in your first equation and the lack of the vector of r.

    Awaiting updates.
     
  6. klokenton5

    Thread Starter New Member

    Feb 11, 2011
    10
    0

    Im sorry disregard the ^φ factor. Copy and paste error. It would be highly appreciated if I could get this code. Thank you so much for looking in the first place! I will be waiting :)
     
  7. klokenton5

    Thread Starter New Member

    Feb 11, 2011
    10
    0
    In the Biot savarts equation µ=4(pi)x10^-7 H/m and I= current

    Coulombs law is: (charge q1)(charge q2)/[4(pi)(ε0)(r^2)]

    ε0=8.85 × 10^−12 F/m
     
  8. klokenton5

    Thread Starter New Member

    Feb 11, 2011
    10
    0
  9. Georacer

    Moderator

    Nov 25, 2009
    5,142
    1,266
    As I said before, I can't crank down the formulas without enormous doubts about the result. If you want me to help you plotting the vector of B in space, I need you to express it as a function of the Cartesian or polar coordinates. That includes finding the current I over all the space and using that formula to calculate B over all the space.

    Remember that the magnitude of B isn't enough to print its vector. Its direction is also needed.
     
  10. klokenton5

    Thread Starter New Member

    Feb 11, 2011
    10
    0

    Hmmm your right. I guess its gonna have to be done by expressing it as a function of the Cartesian or polar coordinates.
     
  11. klokenton5

    Thread Starter New Member

    Feb 11, 2011
    10
    0
    Tried it but confused. Im sorry.
     
  12. klokenton5

    Thread Starter New Member

    Feb 11, 2011
    10
    0
    sorry confused
     
Loading...