1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Scilab codes for a lab report for Helmholtz

  1. Dec 29, 2011 #1
    1. The problem statement, all variables and given/known data
    It is actually not homework, but I found it is cool to solve it in Scilab, and I think that it is more proper to ask it here
    write the codes for (please read the picture)


    2. Relevant equations


    3. The attempt at a solution

    u=1.256637061*10^-6
    N=320
    R=0.136/2
    a=2*R
    Z= [-0.17 -0.15 -0.13 -0.11 -0.09 -0.07 -0.05 -0.03 -0.01 0 0.01 0.03 0.05 0.07 0.09]
    I=1

    B=[(Z^2+R^2)^(-1.5)+((2*a-Z)^2+R^2)^(-1.5)]*N*u*I*R/2

    The problem is that given large enough a, it is supposed to be looked like a y=Ax^4+C function,
    but no matter what number I put in,
    it appears to be like a y=-Ax+C function,
    Would anyone tell me what's wrong, please?

    Thanks for your reading, anyway :)
     

    Attached Files:

    • ???.png
      ???.png
      File size:
      3.3 KB
      Views:
      63
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?



Similar Discussions: Scilab codes for a lab report for Helmholtz
  1. ADSL Matlab code (Replies: 0)

Loading...