Question: CAN YOU CODE THIS YOU HAVE TO GET THIS GRAPH The example of MATLAB code for Part I is as follows: eps0 - 8.854*10^-12; k.


CAN YOU CODE THIS YOU HAVE TO GET THIS GRAPH
The example of MATLAB code for Part I is as follows: eps0 - 8.854*10^-12; k. 1/(4*pi*epso); qi - 1*10^-9; q2 - 1.10^-9; a = 1; > X. 1-2.1:0.2:2.1); El - qi* (x+a)./abs (x+a). 3; E2 - 02*** (x-a)./abs(x-a). 3; Etotal . B1 + B2; > plot (x, Etotal) xlabel 'X'; ylabel 'Etotal' > grid title 'Total Electric field vs. x' Total dectric field 800 8 0 -1000 0 25 2 -15 0.5 0 05 1 15 2 25
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
