Question: please solve using matlab! send me the code and the drawings everything! a = % 2. One point charge and one point-line charge espo 8.85e-12;

 please solve using matlab! send me the code and the drawings

please solve using matlab! send me the code and the drawings everything!

a = % 2. One point charge and one point-line charge espo 8.85e-12; k 1/(4*pi*espo); 91 = -1e-3; 2.2; Q2 1e-3; L = 4; lamda = Q2/L; [x,y] = meshgrid (-2:0.2:2, 0.1:0.2:2); syms X; ri = sqrt(x.^2 + (y - a).^2); r2 = sqrt((x - X).^2 + y.^2); V1 = k*91./r1; ; V2 k*int(lamda./r2, X, -L/2, 1/2); V = double (V1 + V2); [px, py] = gradient(V, 0.1, 0.1); subplot(2, 2, 1) contour(x, y, V) subplot(2, 2, 2) surf(x, y, V) subplot(2, 1, 2) quiver(x, y, -px, -py, 2) a = % 2. One point charge and one point-line charge espo 8.85e-12; k 1/(4*pi*espo); 91 = -1e-3; 2.2; Q2 1e-3; L = 4; lamda = Q2/L; [x,y] = meshgrid (-2:0.2:2, 0.1:0.2:2); syms X; ri = sqrt(x.^2 + (y - a).^2); r2 = sqrt((x - X).^2 + y.^2); V1 = k*91./r1; ; V2 k*int(lamda./r2, X, -L/2, 1/2); V = double (V1 + V2); [px, py] = gradient(V, 0.1, 0.1); subplot(2, 2, 1) contour(x, y, V) subplot(2, 2, 2) surf(x, y, V) subplot(2, 1, 2) quiver(x, y, -px, -py, 2)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!