clear all format short

Size: px
Start display at page:

Download "clear all format short"

Transcription

1 DESCRIPTION: This code plots electrostatic field lines for a collection of point charges. MAIN GOAL: To draw the field lines in such a way that their volume density is proportional to the electric flux penetrating any finite surface area. MAIN IDEA: Start field lines very close from a given charge. Then, if the initial points are distributed *uniformly* over a tiny sphere surrounding the charge, the propagated lines will automatically "adjust" themselves in space with correct volume density. MAIN PROBLEM: In general, it is impossible to *uniformly* distribute an arbitrary number M of points on the surface of a sphere. That can only be done for M = 4, 6, 8, 12, and 20, which correspond to the number of vertices of the so-called Platonic solids. NOTE 1: Thus, in our implementation of the code, the number of field lines originating on a given charge is proportional to the charge and equal to the number of vertices of the corresponding Platonic solid. Due to this restriction, only charges q = 1, 1.5, 2, 3, 5, -1, -1.5, -2, -3, -5, may be used. NOTE 2: If net charge is *positive*, only field lines originating on *positive* charges are propagated. In this case, propagation direction is *forward*. If net charge is *negative*, only field lines originating on *negative* charges are propagated. In this case, propagation direction is *backward*. NOTE 3: *Position vectors* should be entered as [1-3 5], or [1, -3, 5], etc. Make sure that the charges are "reasonably well" localized. AUTHOR: Andrei Galiautdinov Department of Physics & Astronomy University of Georgia Athens, GA ag@physast.uga.edu DATE: 2016 SPRING, February 08. clear all format short %% Welcome: fprintf(1,'* Welcome to PHYS4201/4202 fprintf(1,'* Electrostatic Field Lines Calculator! tocontinue = input('press Enter to Continue: '); %% Some technical details:

2 fprintf(1,'* Distance of initial line point from corresponding fprintf(1,'* charge, epsilon, epsilon = %%% Choose. Distance of initial point from a charge. fprintf(1,'* Number of iteration steps on each line, N_step, N_step = 80 %%% Choose fprintf(1,'* Size of each iteration step, step_factor, step_factor = %%% Choose %% A note on Platonic solids: fprintf(1,'* ATTENTION: fprintf(1,'* fprintf(1,'* The number of field lines originating on a given charge fprintf(1,'* is equal to the number of vertices of the corresponding fprintf(1,'* Platonic solid. fprintf(1,'* fprintf(1,'* fprintf(1,'* To find the coordinates of initial points of certain fprintf(1,'* field lines requires the knowledge of the Golden ratio: fprintf(1,'* fprintf(1,'* phi = (1+sqrt(5))/2 phi = (1+sqrt(5))/2 tocontinue = input('press Enter to Continue: '); %% Define positive charges: fprintf(1,'* Specify the NUMBER of positive charges: N_q_positive = input('enter N_q_positive NUMBER: ') fprintf(1,'* Available positive charge values: fprintf(1,'* 1, 1.5, 2, 3, 5 % tocontinue = input('press Enter to Continue: '); fprintf(1,'* Begin specifying positive charges and their positions... q_positive = zeros(1,n_q_positive); rq_positive = cell(1,n_q_positive); N_line_positive = zeros(1,n_q_positive) q_positive_net = 0; for n_q_positive = 1:N_q_positive

3 q_positive n_q_positive q_positive(n_q_positive) = input('enter CHARGE q_positive: ') rq_positive{1,n_q_positive} = input('enter rq_positive POSITION VECTOR: ') if q_positive(n_q_positive) == 1 fprintf(1,'* Charge: q = 1 fprintf(1,'* Number of field lines: 4 (Tetrahedron) N_line_positive(n_q_positive) = floor(4) %%% Notation: r_in_line{n_line,n_q} r_in_line_positive{1,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[1, 1, 1]/norm([1, 1, 1]); r_in_line_positive{2,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[1, -1, -1]/norm([1, -1, -1]); r_in_line_positive{3,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[-1, 1, -1]/norm([-1, 1, -1]); r_in_line_positive{4,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[-1, -1, 1]/norm([-1, -1, 1]); elseif q_positive(n_q_positive) == 1.5 fprintf(1,'* Charge: q = 1.5 fprintf(1,'* Number of field lines: 6 (Octahedron) N_line_positive(n_q_positive) = floor(6) r_in_line_positive{1,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[1, 0, 0]/norm([1, 0, 0]); r_in_line_positive{2,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[-1, 0, 0]/norm([-1, 0, 0]); r_in_line_positive{3,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[0, 1, 0]/norm([0, 1, 0]); r_in_line_positive{4,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[0, -1, 0]/norm([0, -1, 0]); r_in_line_positive{5,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[0, 0, 1]/norm([0, 0, 1]); r_in_line_positive{6,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[0, 0, -1]/norm([0, 0, -1]); elseif q_positive(n_q_positive) == 2 fprintf(1,'* Charge: q = 2 fprintf(1,'* Number of field lines: 8 (Cube) N_line_positive(n_q_positive) = floor(8) r_in_line_positive{1,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[1, 1, 1]/norm([1, 1, 1]); r_in_line_positive{2,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[-1, 1, 1]/norm([-1, 1, 1]); r_in_line_positive{3,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[-1, -1, 1]/norm([-1, -1, 1]); r_in_line_positive{4,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[-1, -1, -1]/norm([-1, -1, -1]);

4 r_in_line_positive{5,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[1, -1, 1]/norm([1, -1, 1]); r_in_line_positive{6,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[1, -1, -1]/norm([1, -1, -1]); r_in_line_positive{7,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[1, 1, -1]/norm([1, 1, -1]); r_in_line_positive{8,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[-1, 1, -1]/norm([-1, 1, -1]); elseif q_positive(n_q_positive) == 3 fprintf(1,'* Charge: q = 3 fprintf(1,'* Number of field lines: 12 (Icosahedron) N_line_positive(n_q_positive) = floor(12) r_in_line_positive{1,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[0, 1, phi]/norm([0, 1, phi]); r_in_line_positive{2,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[0, -1, phi]/norm([0, -1, phi]); r_in_line_positive{3,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[0, 1, -phi]/norm([0, 1, -phi]); r_in_line_positive{4,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[0, -1,-phi]/norm([0, -1,-phi]); r_in_line_positive{5,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[1, phi, 0]/norm([1, phi, 0]); r_in_line_positive{6,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[1, -phi, 0]/norm([1, -phi, 0]); r_in_line_positive{7,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[-1, phi, 0]/norm([-1, phi, 0]); r_in_line_positive{8,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[-1, -phi, 0]/norm([-1, -phi, 0]); r_in_line_positive{9,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[phi, 0, 1]/norm([phi, 0, 1]); r_in_line_positive{10,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[-phi, 0, 1]/norm([-phi, 0, 1]); r_in_line_positive{11,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[phi, 0, -1]/norm([phi, 0, -1]); r_in_line_positive{12,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[-phi, 0, -1]/norm([-phi, 0, -1]); elseif q_positive(n_q_positive) == 5 fprintf(1,'* Charge: q = 5 fprintf(1,'* Number of field lines: 20 (Dodecahedron) N_line_positive(n_q_positive) = floor(20) r_in_line_positive{1,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[1, 1, 1]/norm([1, 1, 1]); r_in_line_positive{2,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[-1, 1, 1]/norm([-1, 1, 1]); r_in_line_positive{3,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[-1, -1, 1]/norm([-1, -1, 1]); r_in_line_positive{4,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[-1, -1, -1]/norm([-1, -1, -1]); r_in_line_positive{5,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[1, -1, 1]/norm([1, -1, 1]); r_in_line_positive{6,n_q_positive} = rq_positive{1,n_q_positive}...

5 + epsilon*[1, -1, -1]/norm([1, -1, -1]); r_in_line_positive{7,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[1, 1, -1]/norm([1, 1, -1]); r_in_line_positive{8,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[-1, 1, -1]/norm([-1, 1, -1]); r_in_line_positive{9,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[0, 1/phi, phi]/norm([0, 1/phi, phi]); r_in_line_positive{10,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[0, -1/phi, phi]/norm([0, -1/phi, phi]); r_in_line_positive{11,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[0, 1/phi, -phi]/norm([0, 1/phi, -phi]); r_in_line_positive{12,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[0, -1/phi,-phi]/norm([0, -1/phi,-phi]); r_in_line_positive{13,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[1/phi, phi, 0]/norm([1/phi, phi, 0]); r_in_line_positive{14,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[1/phi, -phi, 0]/norm([1/phi, -phi, 0]); r_in_line_positive{15,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[-1/phi, phi, 0]/norm([-1/phi, phi, 0]); r_in_line_positive{16,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[-1/phi, -phi, 0]/norm([-1/phi, -phi, 0]); r_in_line_positive{17,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[phi, 0, 1/phi]/norm([phi, 0, 1/phi]); r_in_line_positive{18,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[-phi, 0, 1/phi]/norm([-phi, 0, 1/phi]); r_in_line_positive{19,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[phi, 0, -1/phi]/norm([phi, 0, -1/phi]); r_in_line_positive{20,n_q_positive} = rq_positive{1,n_q_positive}... + epsilon*[-phi, 0, -1/phi]/norm([-phi, 0, -1/phi]); tocontinue = input('press Enter to Continue: '); q_positive_net = q_positive_net + q_positive(n_q_positive) %% Define negative charges: fprintf(1,'* Specify the NUMBER of negative charges: N_q_negative = input('enter N_q_negative NUMBER: ') fprintf(1,'* Available charge values: fprintf(1,'* -1, -1.5, -2, -3, -5 % tocontinue = input('press Enter to Continue: '); fprintf(1,'* Begin specifying negative charges and their positions... q_negative = zeros(1,n_q_negative); rq_negative = cell(1,n_q_negative); N_line_negative = zeros(1,n_q_negative) q_negative_net = 0; for n_q_negative = 1:N_q_negative

6 q_negative n_q_negative q_negative(n_q_negative) = input('enter CHARGE q_negative: ') rq_negative{1,n_q_negative} = input('enter rq_negative POSITION VECTOR: ') if q_negative(n_q_negative) == -1 fprintf(1,'* Charge: q = -1 fprintf(1,'* Number of field lines: 4 (Tetrahedron) N_line_negative(n_q_negative) = floor(4) r_in_line_negative{1,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[1, 1, 1]/norm([1, 1, 1]); r_in_line_negative{2,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[1, -1, -1]/norm([1, -1, -1]); r_in_line_negative{3,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[-1, 1, -1]/norm([-1, 1, -1]); r_in_line_negative{4,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[-1, -1, 1]/norm([-1, -1, 1]); elseif q_negative(n_q_negative) == -1.5 fprintf(1,'* Charge: q = -1.5 fprintf(1,'* Number of field lines: 6 (Octahedron) N_line_negative(n_q_negative) = floor(6) r_in_line_negative{1,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[1, 0, 0]/norm([1, 0, 0]); r_in_line_negative{2,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[-1, 0, 0]/norm([-1, 0, 0]); r_in_line_negative{3,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[0, 1, 0]/norm([0, 1, 0]); r_in_line_negative{4,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[0, -1, 0]/norm([0, -1, 0]); r_in_line_negative{5,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[0, 0, 1]/norm([0, 0, 1]); r_in_line_negative{6,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[0, 0, -1]/norm([0, 0, -1]); elseif q_negative(n_q_negative) == -2 fprintf(1,'* Charge: q = -2 fprintf(1,'* Number of field lines: 8 (Cube) N_line_negative(n_q_negative) = floor(8) r_in_line_negative{1,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[1, 1, 1]/norm([1, 1, 1]); r_in_line_negative{2,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[-1, 1, 1]/norm([-1, 1, 1]); r_in_line_negative{3,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[-1, -1, 1]/norm([-1, -1, 1]); r_in_line_negative{4,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[-1, -1, -1]/norm([-1, -1, -1]);

7 r_in_line_negative{5,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[1, -1, 1]/norm([1, -1, 1]); r_in_line_negative{6,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[1, -1, -1]/norm([1, -1, -1]); r_in_line_negative{7,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[1, 1, -1]/norm([1, 1, -1]); r_in_line_negative{8,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[-1, 1, -1]/norm([-1, 1, -1]); elseif q_negative(n_q_negative) == -3 fprintf(1,'* Charge: q = -3 fprintf(1,'* Number of field lines: 12 (Icosahedron) N_line_negative(n_q_negative) = floor(12) r_in_line_negative{1,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[0, 1, phi]/norm([0, 1, phi]); r_in_line_negative{2,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[0, -1, phi]/norm([0, -1, phi]); r_in_line_negative{3,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[0, 1, -phi]/norm([0, 1, -phi]); r_in_line_negative{4,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[0, -1,-phi]/norm([0, -1,-phi]); r_in_line_negative{5,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[1, phi, 0]/norm([1, phi, 0]); r_in_line_negative{6,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[1, -phi, 0]/norm([1, -phi, 0]); r_in_line_negative{7,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[-1, phi, 0]/norm([-1, phi, 0]); r_in_line_negative{8,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[-1, -phi, 0]/norm([-1, -phi, 0]); r_in_line_negative{9,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[phi, 0, 1]/norm([phi, 0, 1]); r_in_line_negative{10,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[-phi, 0, 1]/norm([-phi, 0, 1]); r_in_line_negative{11,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[phi, 0, -1]/norm([phi, 0, -1]); r_in_line_negative{12,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[-phi, 0, -1]/norm([-phi, 0, -1]); elseif q_negative(n_q_negative) == -5 fprintf(1,'* Charge: q = -5 fprintf(1,'* Number of field lines: 20 (Dodecahedron) N_line_negative(n_q_negative) = floor(20) r_in_line_negative{1,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[1, 1, 1]/norm([1, 1, 1]); r_in_line_negative{2,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[-1, 1, 1]/norm([-1, 1, 1]); r_in_line_negative{3,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[-1, -1, 1]/norm([-1, -1, 1]); r_in_line_negative{4,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[-1, -1, -1]/norm([-1, -1, -1]); r_in_line_negative{5,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[1, -1, 1]/norm([1, -1, 1]); r_in_line_negative{6,n_q_negative} = rq_negative{1,n_q_negative}...

8 + epsilon*[1, -1, -1]/norm([1, -1, -1]); r_in_line_negative{7,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[1, 1, -1]/norm([1, 1, -1]); r_in_line_negative{8,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[-1, 1, -1]/norm([-1, 1, -1]); r_in_line_negative{9,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[0, 1/phi, phi]/norm([0, 1/phi, phi]); r_in_line_negative{10,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[0, -1/phi, phi]/norm([0, -1/phi, phi]); r_in_line_negative{11,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[0, 1/phi, -phi]/norm([0, 1/phi, -phi]); r_in_line_negative{12,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[0, -1/phi,-phi]/norm([0, -1/phi,-phi]); r_in_line_negative{13,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[1/phi, phi, 0]/norm([1/phi, phi, 0]); r_in_line_negative{14,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[1/phi, -phi, 0]/norm([1/phi, -phi, 0]); r_in_line_negative{15,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[-1/phi, phi, 0]/norm([-1/phi, phi, 0]); r_in_line_negative{16,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[-1/phi, -phi, 0]/norm([-1/phi, -phi, 0]); r_in_line_negative{17,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[phi, 0, 1/phi]/norm([phi, 0, 1/phi]); r_in_line_negative{18,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[-phi, 0, 1/phi]/norm([-phi, 0, 1/phi]); r_in_line_negative{19,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[phi, 0, -1/phi]/norm([phi, 0, -1/phi]); r_in_line_negative{20,n_q_negative} = rq_negative{1,n_q_negative}... + epsilon*[-phi, 0, -1/phi]/norm([-phi, 0, -1/phi]); tocontinue = input('press Enter to Continue: '); q_negative_net = q_negative_net + q_negative(n_q_negative) %% Net charge: q_net = q_positive_net + q_negative_net %% Plotting all charges: fprintf(1,'* Plotting all the charges... fprintf(1,'* Calculating and plotting the field lines... tocontinue = input('press Enter to Continue: '); for n_q_positive = 1:N_q_positive plot3(rq_positive{1,n_q_positive}(1),... rq_positive{1,n_q_positive}(2),... rq_positive{1,n_q_positive}(3),... 'r*',... 'linewidth',1.0) hold on

9 for n_q_negative = 1:N_q_negative plot3(rq_negative{1,n_q_negative}(1),... rq_negative{1,n_q_negative}(2),... rq_negative{1,n_q_negative}(3),... 'b*',... 'linewidth',1.0) hold on %% Check which lines to plot: positive or negative: if q_net >= 0 %% Build all lines for each of the positive charges: for n_q_positive = 1:N_q_positive for n_line_positive = 1:N_line_positive(n_q_positive) r_in = r_in_line_positive{n_line_positive,n_q_positive}; Calculating a given field line: N_step; %%% Chosen above x = zeros(1,n_step); y = zeros(1,n_step); z = zeros(1,n_step); Ex = zeros(1,n_step); Ey = zeros(1,n_step); Ez = zeros(1,n_step); Ex_quivered = zeros(1,n_step); Ey_quivered = zeros(1,n_step); Ez_quivered = zeros(1,n_step); dr = [0, 0, 0]; %%% vector r = r_in; for n_step = 1:N_step n_step; New position: x(n_step) = r(1) + (n_step-1)*dr(1); y(n_step) = r(2) + (n_step-1)*dr(2); z(n_step) = r(3) + (n_step-1)*dr(3); r = [x(n_step), y(n_step), z(n_step)]; %%% vector E_net = [0, 0, 0]; for m_q_positive = 1:N_q_positive r_from_q = r - rq_positive{1,m_q_positive}; %%% vector r_from_q_norm = norm(r_from_q); r_from_q_hat = r_from_q/r_from_q_norm; %%% vector E_from_q =... q_positive(m_q_positive)*r_from_q_hat/r_from_q_norm^2; Net E-field: E_net = E_net + E_from_q;

10 if N_q_negative > 0 for m_q_negative = 1:N_q_negative r_from_q = r - rq_negative{1,m_q_negative}; %%% vector r_from_q_norm = norm(r_from_q); r_from_q_hat = r_from_q/r_from_q_norm; %%% vector E_from_q =... q_negative(m_q_negative)*r_from_q_hat/r_from_q_norm^2; Net E-field: E_net = E_net + E_from_q; Ex(n_step) = E_net(1); Ey(n_step) = E_net(2); Ez(n_step) = E_net(3); E_net_norm = norm(e_net); E_net_normalized = E_net/E_net_norm; Ex_quivered(n_step) = E_net_normalized(1); Ey_quivered(n_step) = E_net_normalized(2); Ez_quivered(n_step) = E_net_normalized(3); Displacement along the E-line: step_factor; %%% Chosen above Sign of q determines E-line propagation direction: step_r_factor =... step_factor*q_positive(n_q_positive)/abs(q_positive(n_q_positive)); dr = step_r_factor*e_net_normalized; %%% vector quiver3(x,y,z,ex_quivered,ey_quivered,ez_quivered,0.25,'r-',... 'linewidth',1.0) hold on elseif q_net < 0 %% Build all lines for each of the negative charges: for n_q_negative = 1:N_q_negative for n_line_negative = 1:N_line_negative(n_q_negative) r_in = r_in_line_negative{n_line_negative,n_q_negative}; Calculating a given field line: N_step; %%% Chosen above x = zeros(1,n_step); y = zeros(1,n_step); z = zeros(1,n_step); Ex = zeros(1,n_step); Ey = zeros(1,n_step);

11 Ez = zeros(1,n_step); Ex_quivered = zeros(1,n_step); Ey_quivered = zeros(1,n_step); Ez_quivered = zeros(1,n_step); dr = [0, 0, 0]; %%% vector r = r_in; for n_step = 1:N_step n_step; New position: x(n_step) = r(1) + (n_step-1)*dr(1); y(n_step) = r(2) + (n_step-1)*dr(2); z(n_step) = r(3) + (n_step-1)*dr(3); r = [x(n_step), y(n_step), z(n_step)]; %%% vector E_net = [0, 0, 0]; for m_q_negative = 1:N_q_negative r_from_q = r - rq_negative{1,m_q_negative}; %%% vector r_from_q_norm = norm(r_from_q); r_from_q_hat = r_from_q/r_from_q_norm; %%% vector E_from_q =... q_negative(m_q_negative)*r_from_q_hat/r_from_q_norm^2; Net E-field: E_net = E_net + E_from_q; if N_q_positive > 0 for m_q_positive = 1:N_q_positive r_from_q = r - rq_positive{1,m_q_positive}; %%% vector r_from_q_norm = norm(r_from_q); r_from_q_hat = r_from_q/r_from_q_norm; %%% vector E_from_q =... q_positive(m_q_positive)*r_from_q_hat/r_from_q_norm^2; Net E-field: E_net = E_net + E_from_q; Ex(n_step) = E_net(1); Ey(n_step) = E_net(2); Ez(n_step) = E_net(3); E_net_norm = norm(e_net); E_net_normalized = E_net/E_net_norm; Ex_quivered(n_step) = E_net_normalized(1); Ey_quivered(n_step) = E_net_normalized(2); Ez_quivered(n_step) = E_net_normalized(3); Displacement along the E-line: step_factor; %%% Chosen above Sign of q determines E-line propagation direction: step_r_factor =... step_factor*q_negative(n_q_negative)/abs(q_negative(n_q_negative)); dr = step_r_factor*e_net_normalized; %%% vector

12 quiver3(x,y,z,ex_quivered,ey_quivered,ez_quivered,0.25,'b-',... 'linewidth',1.0) hold on grid on axis tight set(gca,'box','on'); %%% BOX set(gca,'fontsize',12) %%% the fontsize of the axes tick labels xlabel('x'), ylabel('y'), zlabel('z') title({... ['q_{net} = ',num2str(q_net),... ' N_{+} = ',num2str(n_q_positive),... ' q_{+} = \{',num2str(q_positive),'\}'... ' N_{-} = ',num2str(n_q_negative),... ' q_{-} = \{',num2str(q_negative),'\}'... ],... ['\epsilon = ', num2str(epsilon),... ' N_{step} = ',num2str(n_step),... ' step_{factor} = ',num2str(step_factor),... ],... }) hold off fprintf(1,'* Displaying all charges and their positions: q_net q_positive, celldisp(rq_positive) q_negative, celldisp(rq_negative) fprintf(1,'* Calculation and plotting the field lines is complete. fprintf(1,'* fprintf(1,'* END OF CODE.

PHYS102 EXAM #1 February 17, MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

PHYS102 EXAM #1 February 17, MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. PHYS02 EXAM # February 7, 2005 Last Name First Name MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. ) A spherical metallic shell carries a charge

More information

Fall 12 PHY 122 Homework Solutions #2

Fall 12 PHY 122 Homework Solutions #2 Fall 12 PHY 122 Homework Solutions #2 Chapter 21 Problem 40 Two parallel circular rings of radius R have their centers on the x axis separated by a distance l, as shown in Fig. 21 60. If each ring carries

More information

Physics 2049 Exam 1 Spring 2002

Physics 2049 Exam 1 Spring 2002 Physics 49 Exam 1 Spring q r1 q1 r13 q3 1. In the figure q 1 = 3µC, q = 4µC, q 3 = 5µC, r 1 = 9m, r 13 = 1m. Compute the magnitude of the total force on q 3. F 3NET = F 31 + F 3 = kq 3q 1 î + kq ( 3q )

More information

2. Gauss Law [1] Equipment: This is a theoretical lab so your equipment is pencil, paper, and textbook.

2. Gauss Law [1] Equipment: This is a theoretical lab so your equipment is pencil, paper, and textbook. Purpose: Theoretical study of Gauss law. 2. Gauss Law [1] Equipment: This is a theoretical lab so your equipment is pencil, paper, and textbook. When drawing field line pattern around charge distributions

More information

Physics Grading Sheet.

Physics Grading Sheet. Physics - Grading Sheet. Dept. of Physics and Astronomy. TAMU. Marking Instructions Fill oval completely Erase cleanly Students Fill Only this information. First Name: Last Name:. Section:. Clearly hand-write

More information

SPRING 2014 Department of Physics & Astronomy, UGA PHYS 4202/6202 Electricity and Magnetism II (as of Jan. 07/2014)

SPRING 2014 Department of Physics & Astronomy, UGA PHYS 4202/6202 Electricity and Magnetism II (as of Jan. 07/2014) SPRING 2014 Department of Physics & Astronomy, UGA PHYS 4202/6202 Electricity and Magnetism II (as of Jan. 07/2014) The course syllabus is a general plan for the course; deviations announced to the class

More information

The ResistorArray Package

The ResistorArray Package The ResistorArray Package April 7, 2006 Version 1.0-10 Date 5 Apr 2006 Title electrical properties of resistor networks Author electrical properties of resistor networks. Maintainer Robin Hankin

More information

3. A solid conducting sphere has net charge of +6nC. At electrostatic equilibrium the electric field inside the sphere is:

3. A solid conducting sphere has net charge of +6nC. At electrostatic equilibrium the electric field inside the sphere is: Conceptual Questions. Circle the best answer. (2 points each) 1. If more electric field lines point into a balloon than come out of it, you can conclude that this balloon must contain more positive charge

More information

Speed of waves. Apparatus: Long spring, meter stick, spring scale, stopwatch (or cell phone stopwatch)

Speed of waves. Apparatus: Long spring, meter stick, spring scale, stopwatch (or cell phone stopwatch) Name: Speed of waves Group Members: Date: TA s Name: Apparatus: Long spring, meter stick, spring scale, stopwatch (or cell phone stopwatch) Objectives 1. To directly calculate the speed of waves in a stretched

More information

Package ResistorArray

Package ResistorArray Package ResistorArray February 19, 2015 Version 1.0-28 Date 9 May 2007 Title electrical properties of resistor networks Author electrical properties of resistor networks. Maintainer

More information

Scattering amplitudes and the Feynman rules

Scattering amplitudes and the Feynman rules Scattering amplitudes and the Feynman rules based on S-10 We have found Z( J ) for the phi-cubed theory and now we can calculate vacuum expectation values of the time ordered products of any number of

More information

Phys222 S11 Quiz 2: Chapters Name: = 80 nc, and q = 24 nc in the figure, what is the magnitude of the total electric force on q?

Phys222 S11 Quiz 2: Chapters Name: = 80 nc, and q = 24 nc in the figure, what is the magnitude of the total electric force on q? Name: 1. Three point charges are positioned on the x axis. If the charges and corresponding positions are +3 µc at x = 0, +0 µc at x = 40 cm, and 60 µc at x = 60 cm, what is the magnitude of the electrostatic

More information

Types of Symmetry. We will be concerned with two types of symmetry.

Types of Symmetry. We will be concerned with two types of symmetry. Chapter 7: Symmetry Types of Symmetry We will be concerned with two types of symmetry. Types of Symmetry We will be concerned with two types of symmetry. Reflective symmetry Types of Symmetry We will be

More information

Drawing Line Graphs. Line graphs indicate continuously changing data. Numbers on line graphs are often approximate figures.

Drawing Line Graphs. Line graphs indicate continuously changing data. Numbers on line graphs are often approximate figures. 4 G r a p h s a n d S t a t i s t i c s Drawing Line Graphs Line graphs indicate continuously changing data. Numbers on line graphs are often approximate figures. When drawing line graphs, label each part

More information

BMT 2014 Symmetry Groups of Regular Polyhedra 22 March 2014

BMT 2014 Symmetry Groups of Regular Polyhedra 22 March 2014 Time Limit: 60 mins. Maximum Score: 125 points. Instructions: 1. When a problem asks you to compute or list something, no proof is necessary. However, for all other problems, unless otherwise indicated,

More information

PHYS102 - Gauss s Law.

PHYS102 - Gauss s Law. PHYS102 - Gauss s Law. Dr. Suess February 2, 2007 PRS Questions 2 Question #1.............................................................................. 2 Answer to Question #1......................................................................

More information

Physics 222 Quiz 3 Electric Field of Distributed Charge, Form: A

Physics 222 Quiz 3 Electric Field of Distributed Charge, Form: A Physics 222 Quiz 3 Electric Field of Distributed Charge, Form: A Name: Date: 1. Sketch the electric field at each of three points along an axis through the centers of the plates: (1) between the capacitor

More information

Solution of Matrix Eigenvalue Problem

Solution of Matrix Eigenvalue Problem Outlines October 12, 2004 Outlines Part I: Review of Previous Lecture Part II: Review of Previous Lecture Outlines Part I: Review of Previous Lecture Part II: Standard Matrix Eigenvalue Problem Other Forms

More information

PHYS 2135 Exam I February 13, 2018

PHYS 2135 Exam I February 13, 2018 Exam Total /200 PHYS 2135 Exam I February 13, 2018 Name: Recitation Section: Five multiple choice questions, 8 points each Choose the best or most nearly correct answer For questions 6-9, solutions must

More information

Gauss s Law. Phys102 Lecture 4. Key Points. Electric Flux Gauss s Law Applications of Gauss s Law. References. SFU Ed: 22-1,2,3. 6 th Ed: 16-10,+.

Gauss s Law. Phys102 Lecture 4. Key Points. Electric Flux Gauss s Law Applications of Gauss s Law. References. SFU Ed: 22-1,2,3. 6 th Ed: 16-10,+. Phys102 Lecture 4 Phys102 Lecture 4-1 Gauss s Law Key Points Electric Flux Gauss s Law Applications of Gauss s Law References SFU Ed: 22-1,2,3. 6 th Ed: 16-10,+. Electric Flux Electric flux: The direction

More information

Lecture 3. Electric Field Flux, Gauss Law. Last Lecture: Electric Field Lines

Lecture 3. Electric Field Flux, Gauss Law. Last Lecture: Electric Field Lines Lecture 3. Electric Field Flux, Gauss Law Last Lecture: Electric Field Lines 1 iclicker Charged particles are fixed on grids having the same spacing. Each charge has the same magnitude Q with signs given

More information

These variables have specific names and I will be using these names. You need to do this as well.

These variables have specific names and I will be using these names. You need to do this as well. Greek Letters In Physics, we use variables to denote a variety of unknowns and concepts. Many of these variables are letters of the Greek alphabet. If you are not familiar with these letters, you should

More information

SYMMETRIES IN R 3 NAMITA GUPTA

SYMMETRIES IN R 3 NAMITA GUPTA SYMMETRIES IN R 3 NAMITA GUPTA Abstract. This paper will introduce the concept of symmetries being represented as permutations and will proceed to explain the group structure of such symmetries under composition.

More information

Homework 7 Solution Chapter 7 - Cosets and Lagrange s theorem. due: Oct. 31.

Homework 7 Solution Chapter 7 - Cosets and Lagrange s theorem. due: Oct. 31. Homework 7 Solution Chapter 7 - Cosets and Lagrange s theorem. due: Oct. 31. 1. Find all left cosets of K in G. (a) G = Z, K = 4. K = {4m m Z}, 1 + K = {4m + 1 m Z}, 2 + K = {4m + 2 m Z}, 3 + K = {4m +

More information

LECTURE 15 CONDUCTORS, ELECTRIC FLUX & GAUSS S LAW. Instructor: Kazumi Tolich

LECTURE 15 CONDUCTORS, ELECTRIC FLUX & GAUSS S LAW. Instructor: Kazumi Tolich LECTURE 15 CONDUCTORS, ELECTRIC FLUX & GAUSS S LAW Instructor: Kazumi Tolich Lecture 15 2! Reading chapter 19-6 to 19-7.! Properties of conductors! Charge by Induction! Electric flux! Gauss's law! Calculating

More information

Planar Graphs (1) Planar Graphs (3) Planar Graphs (2) Planar Graphs (4)

Planar Graphs (1) Planar Graphs (3) Planar Graphs (2) Planar Graphs (4) S-72.2420/T-79.5203 Planarity; Edges and Cycles 1 Planar Graphs (1) Topological graph theory, broadly conceived, is the study of graph layouts. Contemporary applications include circuit layouts on silicon

More information

DOING PHYSICS WITH MATLAB ELECTRIC FIELD AND ELECTRIC POTENTIAL: INFINITE CONCENTRIC SQUARE CONDUCTORS

DOING PHYSICS WITH MATLAB ELECTRIC FIELD AND ELECTRIC POTENTIAL: INFINITE CONCENTRIC SQUARE CONDUCTORS DOING PHYSICS WITH MATLAB ELECTRIC FIELD AND ELECTRIC POTENTIAL: INFINITE CONCENTRIC SQUARE CONDUCTORS Ian Cooper School of Physics, University of Sydney ian.cooper@sydney.edu.au DOWNLOAD DIRECTORY FOR

More information

Cecilia first drops off the edge mostly moving parallel the x coordinate. As she gets near bottom of the parabola, she starts moving turning toward

Cecilia first drops off the edge mostly moving parallel the x coordinate. As she gets near bottom of the parabola, she starts moving turning toward Cecilia first drops off the edge mostly moving parallel the x coordinate. As she gets near bottom of the parabola, she starts moving turning toward walking nearly parallel to the y-axis Electric Dipole

More information

Errors. Intensive Computation. Annalisa Massini 2017/2018

Errors. Intensive Computation. Annalisa Massini 2017/2018 Errors Intensive Computation Annalisa Massini 2017/2018 Intensive Computation - 2017/2018 2 References Scientific Computing: An Introductory Survey - Chapter 1 M.T. Heath http://heath.cs.illinois.edu/scicomp/notes/index.html

More information

Lecture 4.2 Finite Difference Approximation

Lecture 4.2 Finite Difference Approximation Lecture 4. Finite Difference Approimation 1 Discretization As stated in Lecture 1.0, there are three steps in numerically solving the differential equations. They are: 1. Discretization of the domain by

More information

Downloaded from

Downloaded from Question 1.1: What is the force between two small charged spheres having charges of 2 10 7 C and 3 10 7 C placed 30 cm apart in air? Repulsive force of magnitude 6 10 3 N Charge on the first sphere, q

More information

Physics 114 Exam 1 Spring 2013

Physics 114 Exam 1 Spring 2013 Physics 114 Exam 1 Spring 2013 Name: For grading purposes (do not write here): Question 1. 1. 2. 2. 3. 3. Problem Answer each of the following questions and each of the problems. Points for each question

More information

Cutnell/Johnson Physics

Cutnell/Johnson Physics Cutnell/Johnson Physics Classroom Response System Questions Chapter 18 Electric Forces and Electric Fields Interactive Lecture Questions 18.1.1. A brass key has a net positive charge of +1.92 10 16 C.

More information

Fluid flow I: The potential function

Fluid flow I: The potential function 5//0 Miscellaneous Exercises Fluid Flow I Fluid flow I: The potential function One of the equations describing the flow of a fluid is the continuity equation: u 0 t where is the fluid density and u is

More information

Physics 114 Exam 1 Fall 2015

Physics 114 Exam 1 Fall 2015 Physics 114 Exam 1 Fall 015 Name: For grading purposes (do not write here): Question 1. 1... 3. 3. Problem Answer each of the following questions and each of the problems. Points for each question and

More information

Errors Intensive Computation

Errors Intensive Computation Errors Intensive Computation Annalisa Massini - 2015/2016 OVERVIEW Sources of Approimation Before computation modeling empirical measurements previous computations During computation truncation or discretization

More information

Gauss Law 1. Name Date Partners GAUSS' LAW. Work together as a group on all questions.

Gauss Law 1. Name Date Partners GAUSS' LAW. Work together as a group on all questions. Gauss Law 1 Name Date Partners 1. The statement of Gauss' Law: (a) in words: GAUSS' LAW Work together as a group on all questions. The electric flux through a closed surface is equal to the total charge

More information

11. Iteration: The while-loop

11. Iteration: The while-loop 11. Iteration: The while-loop Topics: Open-Ended repetition the while statement Example 1: The sqrt Problem Example 2: The UpDown Sequence Example 3. The Fibonacci Sequence Open-Ended Iteration So far,

More information

ENGR Spring Exam 2

ENGR Spring Exam 2 ENGR 1300 Spring 013 Exam INSTRUCTIONS: Duration: 60 minutes Keep your eyes on your own work! Keep your work covered at all times! 1. Each student is responsible for following directions. Read carefully..

More information

STRAIGHT LINE MOTION TEST

STRAIGHT LINE MOTION TEST STRAIGHT LINE MOTION TEST Name: 1. The number of significant figures in the number 0.030 is a) b) 3 c) d) 5. The number 35.5 rounded to significant figures is a) 35.0 b) 35 c) 35.5 d) 0 3. Five different

More information

Introduction. Pre-Lab Questions: Physics 1CL PERIODIC MOTION - PART II Fall 2009

Introduction. Pre-Lab Questions: Physics 1CL PERIODIC MOTION - PART II Fall 2009 Introduction This is the second of two labs on simple harmonic motion (SHM). In the first lab you studied elastic forces and elastic energy, and you measured the net force on a pendulum bob held at an

More information

Essential University Physics

Essential University Physics Essential University Physics Richard Wolfson 21 Gauss s Law PowerPoint Lecture prepared by Richard Wolfson Slide 21-1 In this lecture you ll learn To represent electric fields using field-line diagrams

More information

Preliminary Examination, Numerical Analysis, August 2016

Preliminary Examination, Numerical Analysis, August 2016 Preliminary Examination, Numerical Analysis, August 2016 Instructions: This exam is closed books and notes. The time allowed is three hours and you need to work on any three out of questions 1-4 and any

More information

AP Physics C - E & M

AP Physics C - E & M AP Physics C - E & M Gauss's Law 2017-07-08 www.njctl.org Electric Flux Gauss's Law Sphere Table of Contents: Gauss's Law Click on the topic to go to that section. Infinite Rod of Charge Infinite Plane

More information

AP Physics C: Work, Energy, and Power Practice

AP Physics C: Work, Energy, and Power Practice AP Physics C: Work, Energy, and Power Practice 1981M2. A swing seat of mass M is connected to a fixed point P by a massless cord of length L. A child also of mass M sits on the seat and begins to swing

More information

Ch 24 Electric Flux, & Gauss s Law

Ch 24 Electric Flux, & Gauss s Law Ch 24 Electric Flux, & Gauss s Law Electric Flux...is related to the number of field lines penetrating a given surface area. Φ e = E A Φ = phi = electric flux Φ units are N m 2 /C Electric Flux Φ = E A

More information

AP Physics Study Guide Chapter 17 Electric Potential and Energy Name. Circle the vector quantities below and underline the scalar quantities below

AP Physics Study Guide Chapter 17 Electric Potential and Energy Name. Circle the vector quantities below and underline the scalar quantities below AP Physics Study Guide Chapter 17 Electric Potential and Energy Name Circle the vector quantities below and underline the scalar quantities below electric potential electric field electric potential energy

More information

Electric Field. Lab 4: Part 1: Electric Field from One Point Charge. Name: Group Members: Date: TA s Name:

Electric Field. Lab 4: Part 1: Electric Field from One Point Charge. Name: Group Members: Date: TA s Name: Lab 4: Electric Field Name: Group Members: Date: TA s Name: Simulation link: http://phet.colorado.edu/sims/charges-and-fields/charges-and-fields_en.html Type Charges and Fields PHET in Google and click

More information

PHYSICS SPRING EXAM 1 - February 12, Name: Recitation Section Number:

PHYSICS SPRING EXAM 1 - February 12, Name: Recitation Section Number: PHYSICS 11 - SPRING 003 - EXAM 1 - February 1, 003 Name: Recitation Section Number: SHOW YOUR WORK! Although some of these problems are multiple-choice, full credit will be given only if you explain how

More information

ON THE PUZZLES WITH POLYHEDRA AND NUMBERS

ON THE PUZZLES WITH POLYHEDRA AND NUMBERS ON THE PUZZLES WITH POLYHEDRA AND NUMBERS JORGE REZENDE. Introduction The Portuguese Mathematical Society (SPM) published, in 00, a set of didactical puzzles called Puzzles com poliedros e números (Puzzles

More information

PHYS1212 Exam#2 Spring 2014

PHYS1212 Exam#2 Spring 2014 PHYS Exam# Spring 4 NAME There are 9 different pages in this quiz. Check now to see that you have all of them. CEDIT PAT A 6% PAT B 4% TOTAL % GADE All work and answers must be given in the spaces provided

More information

Differential Operators and the Divergence Theorem

Differential Operators and the Divergence Theorem 1 of 6 1/15/2007 6:31 PM Differential Operators and the Divergence Theorem One of the most important and useful mathematical constructs is the "del operator", usually denoted by the symbol Ñ (which is

More information

Tycho Brahe and Johannes Kepler

Tycho Brahe and Johannes Kepler Tycho Brahe and Johannes Kepler The Music of the Spheres 1 Tycho Brahe 1546-1601 Motivated by astronomy's predictive powers. Saw and reported the Nova of 1572. Considered poor observational data to be

More information

The Story of a Research About the Nets of Platonic Solids with Cabri 3D: Conjectures Related to a Special Net Factor A Window for New Researches

The Story of a Research About the Nets of Platonic Solids with Cabri 3D: Conjectures Related to a Special Net Factor A Window for New Researches The Story of a Research About the Nets of Platonic Solids with Cabri 3D: Conjectures Related to a Special Net Factor A Window for New Researches Jean-Jacques Dahan jjdahan@wanadoo.fr IREM of Toulouse Paul

More information

AP Physics Free Response Practice Kinematics

AP Physics Free Response Practice Kinematics AP Physics Free Response Practice Kinematics 1982B1. The first meters of a 100-meter dash are covered in 2 seconds by a sprinter who starts from rest and accelerates with a constant acceleration. The remaining

More information

Experiment 6. Coulomb s Law - PRELAB. Lab section: Partner's name(s): Grade: 0. Pre-lab Homework (2 points)

Experiment 6. Coulomb s Law - PRELAB. Lab section: Partner's name(s): Grade: 0. Pre-lab Homework (2 points) Name: Date: Course number: MAKE SURE YOUR TA OR TI STAMPS EVERY PAGE BEFORE YOU START! Lab section: Partner's name(s): Grade: Experiment 6 Coulomb s Law - PRELAB 0. Pre-lab Homework (2 points) The pre-lab

More information

Phys102 General Physics II. Chapter 24: Gauss s Law

Phys102 General Physics II. Chapter 24: Gauss s Law Phys102 General Physics II Gauss Law Chapter 24: Gauss s Law Flux Electric Flux Gauss Law Coulombs Law from Gauss Law Isolated conductor and Electric field outside conductor Application of Gauss Law Charged

More information

How Do You Group It?

How Do You Group It? How Do You Group It? Allison Moore Mathematics Department The University of Texas October 24, 2010 Famous statements from science Famous statements from science The Poincare Conjecture: Every closed 3-manifold

More information

Welcome Back to Physics Electric Fields. Micheal Faraday Physics 1308: General Physics II - Professor Jodi Cooley

Welcome Back to Physics Electric Fields. Micheal Faraday Physics 1308: General Physics II - Professor Jodi Cooley Welcome Back to Physics 1308 Electric Fields Micheal Faraday 1791-1867 Announcements Assignments for Thursday, August 30th: - Reading: Chapter 22.3-22.5 - Watch Video: https://youtu.be/wc79wv5klx4 Lecture

More information

Summary of free theory: one particle state: vacuum state is annihilated by all a s: then, one particle state has normalization:

Summary of free theory: one particle state: vacuum state is annihilated by all a s: then, one particle state has normalization: The LSZ reduction formula based on S-5 In order to describe scattering experiments we need to construct appropriate initial and final states and calculate scattering amplitude. Summary of free theory:

More information

Electric flux. Electric Fields and Gauss s Law. Electric flux. Flux through an arbitrary surface

Electric flux. Electric Fields and Gauss s Law. Electric flux. Flux through an arbitrary surface Electric flux Electric Fields and Gauss s Law Electric flux is a measure of the number of field lines passing through a surface. The flux is the product of the magnitude of the electric field and the surface

More information

Gauss s Law. 3.1 Quiz. Conference 3. Physics 102 Conference 3. Physics 102 General Physics II. Monday, February 10th, Problem 3.

Gauss s Law. 3.1 Quiz. Conference 3. Physics 102 Conference 3. Physics 102 General Physics II. Monday, February 10th, Problem 3. Physics 102 Conference 3 Gauss s Law Conference 3 Physics 102 General Physics II Monday, February 10th, 2014 3.1 Quiz Problem 3.1 A spherical shell of radius R has charge Q spread uniformly over its surface.

More information

Explicit Incompressible Euler Solver

Explicit Incompressible Euler Solver Explicit Incompressible Euler Solver (Written In Matlab) R D Teja Aerospace Undergraduate IIT Madras Contents: 1. Abstract 2. Introduction 2.1 Euler equations 2.2 Artificial compressibility equations 2.3

More information

Introduction)! Electrostatics is the study of stationary electric charges and fields (as opposed to moving charges and currents)

Introduction)! Electrostatics is the study of stationary electric charges and fields (as opposed to moving charges and currents) Higher'Physics'1B Electricity) Electrostatics)) Introduction) Electrostatics is the study of stationary electric charges and fields (as opposed to moving charges and currents) Properties)of)Electric)Charges)

More information

Chapter 24. Gauss s Law

Chapter 24. Gauss s Law Chapter 24 Gauss s Law Gauss Law Gauss Law can be used as an alternative procedure for calculating electric fields. Gauss Law is based on the inverse-square behavior of the electric force between point

More information

Theory of Computation Prof. Raghunath Tewari Department of Computer Science and Engineering Indian Institute of Technology, Kanpur

Theory of Computation Prof. Raghunath Tewari Department of Computer Science and Engineering Indian Institute of Technology, Kanpur Theory of Computation Prof. Raghunath Tewari Department of Computer Science and Engineering Indian Institute of Technology, Kanpur Lecture 10 GNFA to RE Conversion Welcome to the 10th lecture of this course.

More information

Chapter 21 Chapter 23 Gauss Law. Copyright 2014 John Wiley & Sons, Inc. All rights reserved.

Chapter 21 Chapter 23 Gauss Law. Copyright 2014 John Wiley & Sons, Inc. All rights reserved. Chapter 21 Chapter 23 Gauss Law Copyright 23-1 What is Physics? Gauss law relates the electric fields at points on a (closed) Gaussian surface to the net charge enclosed by that surface. Gauss law considers

More information

Module 2 : Electrostatics Lecture 7 : Electric Flux

Module 2 : Electrostatics Lecture 7 : Electric Flux Module 2 : Electrostatics Lecture 7 : Electric Flux Objectives In this lecture you will learn the following Concept of flux and calculation of eletric flux throught simple geometrical objects Gauss's Law

More information

2. MATLAB Basics. (d) array1([1 3],end) consists of the elements in the first and third rows on the last column of array1:

2. MATLAB Basics. (d) array1([1 3],end) consists of the elements in the first and third rows on the last column of array1: 2. MATLAB Basics 2.1 (a) The size of array1 is 4 5. (b) The value of array1(1,4) is -3.5. (c) array1(:,1:2:5) is a 4 3 array consisting of the first, third, and fifth columns of array1: >> array1(:,1:2:5)

More information

Questions Chapter 23 Gauss' Law

Questions Chapter 23 Gauss' Law Questions Chapter 23 Gauss' Law 23-1 What is Physics? 23-2 Flux 23-3 Flux of an Electric Field 23-4 Gauss' Law 23-5 Gauss' Law and Coulomb's Law 23-6 A Charged Isolated Conductor 23-7 Applying Gauss' Law:

More information

Where, ε 0 = Permittivity of free space and = Nm 2 C 2 Therefore, force

Where, ε 0 = Permittivity of free space and = Nm 2 C 2 Therefore, force Exercises Question.: What is the force between two small charged spheres having charges of 2 0 7 C and 3 0 7 C placed 30 cm apart in air? Answer.: Repulsive force of magnitude 6 0 3 N Charge on the first

More information

Materials: One of each of the following is needed: Cart Meter stick Pulley with clamp 70 cm string Motion Detector

Materials: One of each of the following is needed: Cart Meter stick Pulley with clamp 70 cm string Motion Detector Name Date Period Newton s Second Law: Net Force and Acceleration Procedures: Newton s second law describes a relationship between the net force acting on an object and the objects acceleration. In determining

More information

a. Determine the potential energy of the spring as a function of displacement.

a. Determine the potential energy of the spring as a function of displacement. PSI AP Physics C Work and Energy (With Calculus) Free Response Problems Use g = 10 m/s 2 1. A spring is found with a force that doesn t obey Hooke s Law: F = -kx 2. This spring is placed on a horizontal

More information

Coulomb Law. Purpose In this lab you will use the Coulomb Torsion Balance to show the inverse squared law for electrostatic force between charges.

Coulomb Law. Purpose In this lab you will use the Coulomb Torsion Balance to show the inverse squared law for electrostatic force between charges. Coulomb Law Purpose In this lab you will use the Coulomb Torsion Balance to show the inverse squared law for electrostatic force between charges. Equipment Coulomb Balance and accessories, kilovolt power

More information

Physics 121 Common Exam 1, Sample Exam 4 (Fall 2011)

Physics 121 Common Exam 1, Sample Exam 4 (Fall 2011) Physics 11 Common Exam 1, Sample Exam 4 (Fall 011) Name (Print): 4 Digit ID: Section: Honors Code Pledge: For ethical and fairness reasons we are all pledged to comply with the provisions of the NJIT Academic

More information

ELECTRIC FORCES AND ELECTRIC FIELDS

ELECTRIC FORCES AND ELECTRIC FIELDS CHATER 18 ELECTRIC FORCES AND ELECTRIC FIELDS CONCETUAL QUESTIONS 1. REASONING AND SOLUTION In Figure 18.9, the grounding wire is removed first, followed by the rod, and the sphere is left with a positive

More information

PHY102 Electricity Topic 3 (Lectures 4 & 5) Gauss s Law

PHY102 Electricity Topic 3 (Lectures 4 & 5) Gauss s Law PHY1 Electricity Topic 3 (Lectures 4 & 5) Gauss s Law In this topic, we will cover: 1) Electric Flux ) Gauss s Law, relating flux to enclosed charge 3) Electric Fields and Conductors revisited Reading

More information

Name: pd. 7B Work and Energy

Name: pd. 7B Work and Energy Name: pd. 7B Work and Energy How does a system get energy? Energy comes from somewhere. When you lift a box off the floor the increase in energy of the box comes from the work you do on the box. The box

More information

Geometry. A. Right Triangle. Legs of a right triangle : a, b. Hypotenuse : c. Altitude : h. Medians : m a, m b, m c. Angles :,

Geometry. A. Right Triangle. Legs of a right triangle : a, b. Hypotenuse : c. Altitude : h. Medians : m a, m b, m c. Angles :, Geometry A. Right Triangle Legs of a right triangle : a, b Hypotenuse : c Altitude : h Medians : m a, m b, m c Angles :, Radius of circumscribed circle : R Radius of inscribed circle : r Area : S 1. +

More information

Problem Score 1 /30 2 /15 3 /15 4 /20 5 /20 6 /20 7 /15 8 /25 9 /20 10 /20 Total /200

Problem Score 1 /30 2 /15 3 /15 4 /20 5 /20 6 /20 7 /15 8 /25 9 /20 10 /20 Total /200 PHYS 2114 Final Exam December 15, 2005 Time of Discussion Section: Name: Instructions: Do not open exam until so instructed. Write name and discussion time above; do not write anything in table at right.

More information

The Electric Field EM-L2-1

The Electric Field EM-L2-1 The EM-L2-1 Review of Lecture 1 Electric charge is quantised and conserved in interactions The force between two charges is given by Coulomb s law Force F 1,2 exerted by a charge q 1 on another charge

More information

Pd D-D Fusion and Jitterbug Structure

Pd D-D Fusion and Jitterbug Structure Pd D-D Fusion and Jitterbug Structure vixra 1209.0007 Frank Dodd (Tony) Smith, Jr. - 2012 Clusters of Palladium atoms (also clusters of atoms of Nickel and similar elements) have two basic structures:

More information

IB Mathematics HL Year 2 Unit 7 (Core Topic 6: Probability and Statistics) Valuable Practice

IB Mathematics HL Year 2 Unit 7 (Core Topic 6: Probability and Statistics) Valuable Practice IB Mathematics HL Year 2 Unit 7 (Core Topic 6: Probability and Statistics) Valuable Practice 1. We have seen that the TI-83 calculator random number generator X = rand defines a uniformly-distributed random

More information

Convolutional Neural Networks

Convolutional Neural Networks Convolutional Neural Networks Books» http://www.deeplearningbook.org/ Books http://neuralnetworksanddeeplearning.com/.org/ reviews» http://www.deeplearningbook.org/contents/linear_algebra.html» http://www.deeplearningbook.org/contents/prob.html»

More information

Review. Spring Semester /21/14. Physics for Scientists & Engineers 2 1

Review. Spring Semester /21/14. Physics for Scientists & Engineers 2 1 Review Spring Semester 2014 Physics for Scientists & Engineers 2 1 Notes! Homework set 13 extended to Tuesday, 4/22! Remember to fill out SIRS form: https://sirsonline.msu.edu Physics for Scientists &

More information

week 3 chapter 28 - Gauss s Law

week 3 chapter 28 - Gauss s Law week 3 chapter 28 - Gauss s Law Here is the central idea: recall field lines... + + q 2q q (a) (b) (c) q + + q q + +q q/2 + q (d) (e) (f) The number of electric field lines emerging from minus the number

More information

Notice the minus sign on the adder: it indicates that the lower input is subtracted rather than added.

Notice the minus sign on the adder: it indicates that the lower input is subtracted rather than added. 6.003 Homework Due at the beginning of recitation on Wednesday, February 17, 010. Problems 1. Black s Equation Consider the general form of a feedback problem: + F G Notice the minus sign on the adder:

More information

Solutions to Systems of Linear Equations

Solutions to Systems of Linear Equations Solutions to Systems of Linear Equations 5 Overview In this chapter we studying the solution of sets of simultaneous linear equations using matrix methods. The first section considers the graphical interpretation

More information

Chapter 22 Gauss s law. Electric charge and flux (sec &.3) Gauss s Law (sec &.5) Charges on conductors (sec. 22.6)

Chapter 22 Gauss s law. Electric charge and flux (sec &.3) Gauss s Law (sec &.5) Charges on conductors (sec. 22.6) Chapter 22 Gauss s law Electric charge and flux (sec. 22.2 &.3) Gauss s Law (sec. 22.4 &.5) Charges on conductors (sec. 22.6) 1 Learning Goals for CH 22 Determine the amount of charge within a closed surface

More information

Phys 2102 Spring 2002 Exam 1

Phys 2102 Spring 2002 Exam 1 Phys 2102 Spring 2002 Exam 1 February 19, 2002 1. When a positively charged conductor touches a neutral conductor, the neutral conductor will: (a) Lose protons (b) Gain electrons (c) Stay neutral (d) Lose

More information

Phys222 W16 Exam 2: Chapters Key. Name:

Phys222 W16 Exam 2: Chapters Key. Name: Name: Please mark your answer here and in the scantron. A positively charged particle is moving in the +y-direction when it enters a region with a uniform electric field pointing in the +y-direction. Which

More information

Physics 114 Exam 1 Fall 2016

Physics 114 Exam 1 Fall 2016 Physics 114 Exam 1 Fall 2016 Name: For grading purposes (do not write here): Question 1. 1. 2. 2. 3. 3. Problem Answer each of the following questions and each of the problems. Points for each question

More information

17 M00/430/H(2) B3. This question is about an oscillating magnet.

17 M00/430/H(2) B3. This question is about an oscillating magnet. 17 M00/430/H(2) B3. This question is about an oscillating magnet. The diagram below shows a magnet M suspended vertically from a spring. When the magnet is in equilibrium its mid-point P coincides with

More information

Point Group Group Theory Assigning the Point Group of a Molecule A. Low Symmetry Groups

Point Group Group Theory Assigning the Point Group of a Molecule A. Low Symmetry Groups Point Groups Point Group = the set of symmetry operations for a molecule Group Theory = mathematical treatment of the properties of the group which can be used to find properties of the molecule Assigning

More information

Homework 4: Hard-Copy Homework Due Wednesday 2/17

Homework 4: Hard-Copy Homework Due Wednesday 2/17 Homework 4: Hard-Copy Homework Due Wednesday 2/17 Special instructions for this homework: Please show all work necessary to solve the problems, including diagrams, algebra, calculus, or whatever else may

More information

PRACTICE EXAM 1 for Midterm 1

PRACTICE EXAM 1 for Midterm 1 PRACTICE EXAM 1 for Midterm 1 Multiple Choice Questions 1) The figure shows three electric charges labeled Q 1, Q 2, Q 3, and some electric field lines in the region surrounding the charges. What are the

More information

Assignment 1: Due Friday Feb 6 at 6pm

Assignment 1: Due Friday Feb 6 at 6pm CS1110 Spring 2015 Assignment 1: Due Friday Feb 6 at 6pm You must work either on your own or with one partner. If you work with a partner, you and your partner must first register as a group in CMS and

More information

Physics 208, Spring 2015 Exam #1

Physics 208, Spring 2015 Exam #1 Physics 208, Spring 2015 Exam #1 A Name (Last, First): ID #: Section #: You have 75 minutes to complete the exam. Formulae are provided on a separate colored sheet. You may NOT use any other formula sheet.

More information

P202 Practice Exam 1 Spring 2004 Instructor: Prof. Sinova

P202 Practice Exam 1 Spring 2004 Instructor: Prof. Sinova P202 Practice Exam 1 Spring 2004 Instructor: Prof. Sinova Name: Date: 1. Each of three objects has a net charge. Objects A and B attract one another. Objects B and C also attract one another, but objects

More information

Lecture 14. PHYC 161 Fall 2016

Lecture 14. PHYC 161 Fall 2016 Lecture 14 PHYC 161 Fall 2016 Q22.3 Two point charges, +q (in red) and q (in blue), are arranged as shown. Through which closed surface(s) is/are the net electric flux equal to zero? A. surface A B. surface

More information