- #1
Shing
- 144
- 1
Homework Statement
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)
Homework Equations
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 :)