Need a solution for the Electric field due to a wire ...please help me on this

E (Electric field ) = [Summation(from k=1 to N) rho subcript k * delta * R(vector) ]/[4*pi*e*R^3]
where R( vector) = r- r subscript k
R=(x-x subcript k )ax + (y-y susbcript k)ay +(z-z subscript k)az
Please provide me a solution for the program and also how to plot the graph clearly shwing the variation ???

9 Comments

Are ax ay and az constants?
You have not defined "r", but you have provided two different definitions for "R" ?
one is R(vector)=(x-x subcript k )ax + (y-y susbcript k)ay +(z-z subscript k)az
and the other R = ( (x-xk)^2 +(y-yk)^2 +(z-zk)^2 )^ 0.5
any solutions...please do provide me
It seems to me that your second one should be
||R|| = ( (x-xk)^2 +(y-yk)^2 +(z-zk)^2 )^ 0.5
that is, that the magnitude of R is as given, rather than R itself being that expression.
Are "N", "x", "y", "z", "rho" and "delta" defined? Or are x, y, z to be left as variables and you are trying to define a function E(x,y,z) ?
We are waiting for you to show us whatever matlab code you have developed for solving this problem and what difficulties you have with it. There is an understandable reluctance on the part of answer-givers for responding to questions in which no effort to create matlab code is exhibited.
I do have questions to ask you about the physics of your problem. If you have a metal "wire" with constant current flowing through it, there should be no electric field created around it whatever. How do you explain that? You have a summation over N quantities. What do these quantities represent physically? What are the numbers rho_k, what is 'e', what are the points (x_k,y_k,z_k), and what role do the unit vectors (ax,ay,az) play in your problem? It would be helpful if you described in accurate detail the physical situation in your problem.
rho -- magnetic susceptibility would be my guess
e -- fundamental electric charge?
xk, yk, zk -- I speculate that these are the positions of wire segments, possibly of length delta. But orientation would matter...
@Walter: I rather suspect this is simply Coulomb's law in the so-called "absolute practical units" with a set of electrostatic charges, rho_k, at positions (x_k,y_k,z_k) and unit vectors pointed from each charge to a given field position at r = (x,y,z). I was hoping to entice Asutosh into giving us the description, however, to show an understanding of what was being computed. Having to think out such a description might make it easier to come up with an understanding of the necessary matlab code for computing it.

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Asked:

on 1 Feb 2014

Commented:

on 2 Feb 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!