Question 1: Electric field of a dipole Total: 25 marks
Two electric charges ๐1 and ๐2 of the opposite polarity are positioned along ๐ฅ–axis at ๐ฅ1 and ๐ฅ2 respectively.
a) Find analytically1 the location(s) (๐ฅ0,๐ฆ0) where the electric field ๐ due to these charges is exactly zero2. Provide a line plot of ๐(๐ฅ) which shows found location of ๐ธ =0 in relation to the charges. (8 marks)
b) Using MATLAB calculate numerically the distribution of the electric field ๐(๐ฅ,๐ฆ) and electric potential ๐(๐ฅ,๐ฆ) in a rectangular domain3. Provide the plot of the unit vectors of the resulting vector field ๐(๐ฅ,๐ฆ) overlaid onto the filled colour contour plot ๐(๐ฅ,๐ฆ).
Denote the location of the charges ๐1 and ๐2 on the plot with small coloured circles. Use reasonable resolution of the numerical grid, which provides clear representation of the electric field vectors as well as smooth contours of ๐.
(15 marks)
Code:8 marks
Plot:7 marks
c) Confirm the result of part (a) by clearly denoting the location(s) of (๐ฅ0,๐ฆ0)
found in (a) on your plot from part (b) with a small marker. (2 marks)
Individual inputs for this question:
a) Take your Student ID number, e.g. SID=1234567
b) Add first 4 digits of SID together, keep adding until you end up with a single digit, i.e. 1+2+3+4=10=>1+0=1, assign this number to ๐ด
c) Add last 4 digits of SID together, keep adding until you end up with a single digit, assign it to ๐ต, i.e. ๐ต =4+5+6+7=22โ2+2=4. If you are ended up with ๐ด=๐ต, take ๐ต =๐ด+1.
d) Now find ๐ถ by dividing (๐ดโ๐ต) by its modulus: ๐ถ =๐ดโ๐ต/|๐ดโ๐ต|, e.g. ๐ถ =1โ4/|1โ4|=
โ1;
e) Your values for Question 1 are: ๐1 =๐ถร๐ตร10โ9 , ๐2 =โ4๐1 Coulombs; ๐ฅ1 =โ๐ด, ๐ฅ2 =๐ต metres. 1 computer algebra, such as symbolic mathematics toolbox of MATLAB, can be used if necessary. 2 besides the infinite distance away from the charges.
3 choose the size of the domain to include the location of (๐ฅ0,๐ฆ0) and cover some reasonable space around the charges: your plot should give a good presentation of the electric field vectors and contours of the potential.
Question 2: Nodal analysis Total: 25 marks
In the circuit below (Fig.1), the electric potentials ๐1…๐10 at the corresponding nodes
โ1…10โ are measured with respect to the common node โ1โ. Assume the batteries have
no internal resistance and their e.m.f. are ๐1 =10 and ๐2 =12 Volts.
To assign the values to resistors R, take first seven digits of your Student ID number, say ABCDEFG, and use the following values, in Ohms:
R1 = A + 3, R2 = B + 1, R3 = C + 4, R4 = D + 2, R5 = E + 2, R6 =F + 2, R7 = G + 1, R8
= A + B + 3, R9 = C+D+1, R10 = B+D+1, R11 = G+F+3, R12 = 2*R1+2, R13 = E+F+2.
Fig.1
Applying the Nodal Analysis and using the same nodesโ numbers as in Fig.1:
a) use Kirchhoffโs 1st rule and write the system of nodal equations for this circuit. Show assumed directions of the currents through batteries ๐1 and ๐2 (respectively ๐ผ14 and ๐ผ12) on the circuit (Fig.1). (5 marks)
b) Represent the problem in matrix form: show the system of equations in matrix form, including vector of unknowns, matrix of coefficients, vector of RHS.
(5 marks) Using MATLAB:
c) Solve the system of equations (b) using a matrix method of your choice, hence find the values of all nodal potentials ๐1...๐10 and the currents ๐ผ12 and ๐ผ14 through the batteries. (5 marks)
d) Find all individual currents through each of 15 elements of the circuit, denoting currents ๐ผ1…๐ผ13 through resistors ๐
1…๐
13 respectively. Show the correct directions of these currents on the sketch of the circuit with arrows. (5 marks)
e) Show that for the currents found in (d), the 1st Kirchhoffโs rule is satisfied at each node of the circuit. (5 marks)
Question 3: Motion of an electron in a magnetron Total: 25 marks
Consider a cross–section of two conducting coaxial cylinders in vacuum centred at the origin (Fig.2). The electric potential difference ฮ๐ = ๐๐ โ ๐๐ is applied between them: the inner cylinder (the cathode) of radius ๐ has potential ๐๐ and the outer cylinder (the anode) of radius ๐ has potential ๐๐. External magnetic field ๐, parallel to the axis of both cylinders is applied everywhere in space. From the surface of the cathode free electrons with charge โ๐ (where ๐ > 0), and negligible initial kinetic energy are continuously emitted.
a) Starting from Laplaceโs equation in polar coordinates, find the distribution
of the electric potential ๐(๐,๐) in the gap between the cylinders analytically (neglect the electric field of free electrons) and plot it with respect to the relevant coordinate(s) for ๐๐ =2000V, ๐๐ =โ200 V, ๐ =0.02 m, ๐=0.2m. (5 marks)
b) Assume the electron is at the distance ๐ from the centre (๐ โค ๐โค ๐), has velocity vector ๐ฎ. Using your result from part (a), find the expression(s) for the full electromagnetic force acting on the electron of mass ๐๐ and charge โ๐. (5 marks)
c) The electric current through such a device is the amount of charge transferred from the cathode to the anode per unit of time. For a given non–zero voltage ฮ๐, there is a certain threshold value of the magnetic field ๐ต =๐ต๐๐๐ฅ (โHull cut–offโ value, in Tesla), above which the current stops flowing: ๐ต๐๐๐ฅ =โ8 ฮ๐ ๐๐/๐
๐(1โ๐2
๐2)
.
Explain why such a cut–off effect is happening? (5 marks)
d) Write MATLABยฎ code, which simulates numerically the motion of a single electron emitted from the cathode and plot its trajectory between the electrodes. Use given in (a) values for constants ๐๐, ๐๐, ๐ and ๐.
i. Provide the code.
(7 marks)
ii. Provide three plots of the electronโs trajectory corresponding to three values of magnetic field ๐ต =0.5๐ต๐๐๐ฅ,1.02๐ต๐๐๐ฅ,3๐ต๐๐๐ฅ (e.g. below, slightly above and way above the threshold ๐ต๐๐๐ฅ). Your results must demonstrate the cut–off effect described above. Electrodes must be visible on the plots and the shape of the trajectories must not be distorted. (3 marks)
Question 4: Magnetic field due to a spherical coil Total: 25 marks
Besides a very long solenoid, there are few designs of magnetic induction coils aimed to produce more or less homogeneous magnetic field inside them: e.g. a pair of โHelmholtz coilsโ or a set of three โMaxwell coilsโ. But what about a coil in a shape of a sphere?
Letโs take a sphere of radius ๐ =0.2 m centred at (0,0,0) with its axis being ๐ง–axis, so that the poles of the sphere are at ๐ง=ยฑ๐ (Fig.3). Now, beginning from the top pole (๐ง=๐ ) we will wrap a single layer of ๐ =51 turns of thin wire with constant pitch4 along ๐๐ง around the sphere in the azimuthal direction (i.e. putting turns counter clockwise along the latitude of the sphere) and finish wrapping at the lower (โsouthโ) pole (๐ง=โ๐ ) so that the surface of the sphere is uniformly covered with ๐ turns of the wire.
Then we connect the ends of the wire to a source of the current ๐, hence the total electric current in the coil is ๐ผ =๐๐ [Ampere–turns] is flowing counter–clockwise
(shown in Fig.3 with the arrow). Alternatively, instead of wrapping a wire, you can imagine that the sphere has a thin conductive surface which carries almost purely azimuthal uniform current ๐ผ.
It is suggested that the magnetic field inside such a โspherical coilโ is constant and uniform, like the field inside a very long solenoid. Your objective is to provide an evidence that this suggestion is correct or wrong. You can assume, for simplicity,
that each of ๐ turns of a wire in the coil is a separate circular loop in ๐๐ฅ๐ฆ plane5 carrying the current ๐. Complete the following tasks:
a) Find analytically6 the distribution of magnetic field ๐(๐ง) along the axis of the sphere ๐๐ง, both inside and outside of it, i.e. for |๐ง|<๐
and for |๐ง|โฅ๐
. The result should be the line plot of ๐ต(๐ง) for e.g. โ5๐
โค๐งโค5๐
and ๐ผ =103Ampere–turns. You can assume here that ๐ โโ (i.e. the wire is very thin and is fully covering the surface of the sphere). (8 marks)
b) Using MATLAB, write a code, which utilising Biot–Savart law calculates numerically the magnetic field vectors in ๐๐ฅ๐ง plane both inside and outside such a spherical coil, e.g. on a rectangular grid โ3๐
โค๐ฅ,๐งโค3๐
. Take the total current to be ๐ผ =10๐ [Ampere–turns]. (8 marks)
c) From your results of part (b) provide the plot of ๐(๐ฅ,๐ง) showing vectors of ๐ over the contours of |๐| on the same plot. (4 marks)
d) Produce the line plot of ๐(๐ง) distributions along the axis of the sphere, similar to the one from part (a), but using your numerical results from (b). While keeping the same value of the total current ๐ผ =103 [Ampere–turns], show several results of ๐(๐ง) for different number of turns ๐, e.g. ๐ =5,10,50,100 on the same line plot. Compare with analytical solution from (a) by also plotting it in the same plot. Comment on your results.