Electric field computing
Electric Field Computing using Mat Lab:
write a MAT LAB program to calculate the Electric field of a charge 4 C
at a point 3 m far from the charge using the electric field equation:
E=q/r^2
MATLAB program:
r=3; % the distance between the charge q and the point
% in (m)
q=4; % the charge in (C)
% in (m)
q=4; % the charge in (C)
E=q/r^2; % the Electric field in (C/m^2)
disp(E)
Comments
Post a Comment