Electromagnetic Fields Exam
Electromagnetic Fields Exam
U TY OF KEN
NYA
FACULTY
Y OF ENGIN
NEERING
U
University E
Examination
ns 2017/20188
SECOND YE
S EAR SECONND SEMES MINATION FOR THE DEGREE
STER EXAM D OF
F
BAC
CHELOR OF SCIENCE
E IN ELECT
TRICAL AN
ND TELECO
OMMUNICA ATION AND
D IN
EN
NGINEERIN
NG
TIME: 2 Hours
INSTRU
UCTIONS
1. This
T paper co
onsists of fivve questions.
2. Answer
A Quesstion One annd any otherr two questioons from thee remaining four.
f
3. U
Unless otherw mbols have their
wise specifiied; Assumee free spacee conditions and all sym
usual meanin
ng.
4. Use
U the formu
ula sheet proovided where necessary.
5. Free space co
onstants:
ii. Give two requirements that a suitable Gaussian surface must satisfy. [2 marks]
F = 2 xza x + x 2a z
Establish whether this field can arise from a static distribution of charge.
[2 marks]
ax ay az
∂ ∂ ∂
∇×E = = ax (0 − 0) + a y ( 2x − 2x ) + az (0 − 0) = 0
∂x ∂y ∂z
2 xz 0 x2
iv. Explain why the magnetic scalar potential between any two points in a magnetic
field is multivalued. [2 marks]
∇×H = J
∇⋅B = 0
b) Given the potential function V = 2 ρ sin φ in a region with cylindrical symmetry, determine
the volume charge density that is the source to the given potential field at P (4, π / 3,1) .
[5 marks]
V = 2 ρ sin φ
∂V 1 ∂V ∂V
E = −∇V = −a ρ − aφ − az
∂ρ ρ ∂φ ∂z
∂ 1 ∂
= −a ρ (2 ρ sin φ ) − aφ (2 ρ sin φ )
∂ρ ρ ∂φ
= −a ρ 2sin φ − aφ 2 cos φ
⎡1 ∂ 1 ∂ ⎤
ρv = ∇ ⋅ D = −2ε 0 ⎢ ( ρ sin φ ) + (cos φ ) ⎥
⎣ ρ ∂ρ ρ ∂φ ⎦
⎛1 1⎞
= −2ε 0 sin φ ⎜ − ⎟ = 0 C/m -3
⎝ρ ρ⎠
At P(4, π / 3,1), ρ v = 0
c) A point charge Q1 = 5 µC moves from the origin the point P (3, 4, −5) in 3 µs in the
presence of the magnetic field B = 3a x − 2a y + a z T . Assuming uniform velocity, determine
the magnetic force. [5 marks]
FM = Qv × B
(3 − 0)a x + (4 − 0)a y + (−5 − 0)a z
= 5 × 10−6 × ( 3a x − 2a y + a z )
3 × 10−6
= 1.67 ⎡⎣( 3a x + 4a y − 5a z ) × ( 3a x − 2a y + a z ) ⎤⎦
ax ay az
= 1.67 3 4 −5 = 1.67(−6a x − 18a y − 18a z )
3 −2 1
= −10a x − 30a y − 30a z N
d) In a certain region, J = 3r 2 cos θa r − r 2 sin θaθ A/m 2 , find the current crossing through the
surface defined by θ = 30D , 0 < φ < 2 π , 0 < r < 2 . [5 marks]
I = ∫ J ⋅ dS
S
r =0 φ=0
2 2π 2
=−∫ ∫ r sin θdrd φ = 2 π
3 2
∫r
3
sin 2 θdr
r =0 φ=0 r =0
2
r4
= 2 π sin 2 θ = 8 π sin 2 θ = 8 π sin 2 30D = 2 π A
4 r =0
e) Using a well labeled diagram and relevant mathematical derivations, show that the normal
component of B at the interface between two mediums is continuous. [5 marks]
BN 1
µ1
∆S
a N 12
µ2
BN 2
BN 1∆S − BN 2 ∆S = 0
∴ BN 1 = BN 2
Thus
µ1
HN2 = H N1
µ2
Consider a volume
C v V bounded by a closed suurface S in a homogeneous mediuum of
permittivity e and conducctivity s conttaining chargge density qev
e .
dQenc
I =− = v∫ J ⋅ dS
dt S
B
But
Qenc = ∫ q ev dv
V
H
Hence,
d
v∫ J ⋅ dS = − dt ∫ q
S V
ev dv
v∫ J ⋅ dS = ∫ ∇ ⋅ J dv
S V
(diveergence theoorem)
A
Also,
d ∂q
∫
dt V
qev dv = ∫ ev dv
V
∂t
H
Hence,
∂ρ
∫ ∇ ⋅ J dv + ∫ ∂t
V V
dv = 0
Since the above relation must be true for any and all regions, we have
∂ρ
∇⋅J + =0
∂t
1 ∂ ( ρ Aφ ) 1 ∂
J = ∇ × H = az = az (20 ρ 2 ) = 40a z A/m 2
ρ ∂ρ ρ ∂ρ
ii. Find the expression for the electric field E inside the resistor. [2 marks]
J 40a z
E= = = 8a z V/m
σ 5
V 0.048 V
R= = = 384 Ω
I 0.125 mA
QUESTION 3 [20 marks]
a) Derive the expression for the total electrostatic energy stored in the electric field of a
stationary point charge Q located in a linear, homogeneous dielectric. [6 marks]
Q Q
E= a , D = εE
2 r
ar
4 πεr 4π r 2
r2
Q Q
W = ∫ D ⋅ Edv = 4 π ∫ a ⋅
2 r
a r dr
v r1
4 πεr 4π r 2
2 r2 r
Q 1 Q2 ⎡ 1 ⎤ 2 Q2 ⎡ 1 1 ⎤
4 πε ∫r1 r 4
= dr = = ⎢ − ⎥
4 πε ⎢⎣ −3r 3 ⎥⎦ r1 12 πε ⎣ r13 r23 ⎦
E = E point + Esurface
Q ρ
= a + S ay
2 R
4 πε R 2ε
−3 × 10 ( −a x − a y − a z ) 10−8
−9
= + ay
16 πε0 ( 3) 8ε0
3/ 2
10−9 ⎡ 3(ax + a y + az ) ⎤
= ⎢ + 10a y⎥
8ε0 ⎢⎣ 2 π ( 3)
3/ 2
⎥⎦
10−9
=
8ε0
( 0.092a x + 10.91a y + 0.092a z )
= 1.30a x + 154a y + 1.30a z V/m
P = χ E ε0 E = (εR − 1)ε0 E
= 3ε0 (1.30a x + 154a y + 1.30a z )
= 3.9ε0a x + 462ε0a y + 3.9ε0a z C/m 2
5x 3
c) Given D = a x C/m 2 , prove divergence theorem for a cube defined by 0 ≤ x ≤ 1 ,
2
0 ≤ y ≤ 1, 0 ≤ z ≤ 1. [6 marks]
- Divergence theorem:
∫ D ⋅ dS = ∫ ∇ ⋅ Ddv
S v
1 1 1 1
5x 3 5x 3
∫ D ⋅ dS =
S
∫ ∫ 2 x
x =0 z −0
a ⋅ dxdz ( − a y ) + ∫ ∫ 2 a x ⋅ dxdz(a y ) +
x =0 z −0
1 1 1 1
5x 3 5x 3
∫ ∫ 2 a x ⋅ dxdy(−a z ) + x∫=0 y∫−0 2 a x ⋅ dxdy(a z ) +
x =0 y −0
1 1 1 1
5 5(0)
∫y =0 z∫−0 2 a x ⋅ dydz(a x ) + y∫=0 z∫−0 2 a x ⋅ dydz (−a x )
5 5
= 0+0+0+0+ +0= C
2 2
∂ ⎛ 5x 3 ⎞
1 1 1 1 1 1
15 x 2
∫ ∇ ⋅ Ddv = ∫ ∫ ∫
v 0 0 0
⎜⎜
∂x ⎝ 2 ⎠
⎟⎟dxdydz = ∫ ∫ ∫
0 0 0
2
dxdydz
1 1
5 5
= ∫ ∫ dydz = C
0 0
2 2
Hence,
∫ D ⋅ dS = ∫ ∇ ⋅ Ddv
S v
IdL × a R
H = v∫
c
4π R 2
⎧ 0 0≤ρ<a
⎪
⎪ ⎛ ρ⎞
J ( ρ, φ, z ) = ⎨ J 0 ⎜ ⎟ a z a≤ ρ≤b
⎪ ⎝a⎠
⎪⎩ 0 ρ>b
where a and b are the inner and outer radii of the cylinder. Determine the magnetic field
intensity in the regions 0 ≤ ρ < a , a ≤ ρ ≤ b , and ρ > b using Ampere’s law. Ignore edge
effects. [8 marks]
0≤ρ<a
a≤ρ≤b
2π ρ
⎛ρ⎞ (
2π J 0 ρ 3 − a 3 )
2πρ Hφ = ∫0
∫a J 0 ⎜⎝ a ⎟⎠ ρ d ρ dφ = 3a
∴ Hφ =
(
J 0 ρ 3 − a3 ) ⇒ H = J (ρ 0
3
− a3 )a
φ
3a ρ 3a ρ
ρ≥b
2π b
⎛ρ⎞ (
2π J 0 b3 − a 3 )
2πρ Hφ = ∫0
∫a J 0 ⎜⎝ a ⎟⎠ d ρ dz = 3a
∴ Hφ =
(
J 0 b3 − a 3 ) ⇒ H = J (b 0
3
− a3 )a
φ
3a ρ 3a ρ
Hence,
⎧
⎪0 0≤ ρ <a
⎪
⎪J
⎪ 0
H=⎨
(ρ 3
− a3 )a a≤ ρ ≤b
φ
⎪ 3a ρ
⎪J
⎪ 0 (b 3
− a3 )a ρ ≥b
φ
⎪⎩ 3a ρ
H t 2 = 14.5a x , a n = a z
B N 1 = B N 2 = µ2 H N 2 = 3µ0 ( 8a z ) = 24 µ0a z
B N 1 24 µ0a z
H N1 = = = 6a z
µ1 4 µ0
Therefore,
H1 = H t1 + H N 1 = 5.5a x + 6a y A/m
Q
C=
V
b) Fig. Q5 shows a coaxial cable of length L and whose inner conductor has radius a and
outer conductor has radius b but with negligible thickness. Given that L >> (b − a ) (so that
fringing effects at the edges can be ignored), and that the potential difference between the
inner and outer conductors is V0 with the inner conductor being at higher potential; derive
the expression for the capacitance per unit length of the cable. [10 marks]
Fig. Q5
1 ∂ ∂V
ρ =0
ρ ∂ρ ∂ρ
V = A ln ρ + B
A and B are constants. Using the given boundary conditions, we obtain;
V0 ρ
V =− ln
ln(b / a ) b
∂ ⎛ V0 ρ⎞ V0
E = −∇V = −a ρ ⎜⎜ − ln ⎟⎟ = a ρ
∂ρ ⎝ ln(b / a ) b ⎠ ρ ln(b / a )
V0
D = εE = a ρ ε
ρ ln(b / a )
⎛ V0 ⎞ εV0
ρS = a n ⋅ D = εE = a ρ ⋅ ⎜ a ρ ε ⎟= C/m 2
⎝ ρ ln(b / a ) ⎠ ρ ln(b / a )
2 πρεV0 2 πεV0
Q = ρS S = =
ρ ln(b / a ) ln(b / a )
Q 2 πεV0 2 πε
C= = = F/m
V V0 ln(b / a ) ln(b / a )
i. Show that ∇ ⋅ A = 0
A = (3 y − z )a x + 2 xza y
∂Ax ∂Ay ∂ ∂
∇⋅A = + = (3 y − z ) + (2 xz ) = 0
∂x ∂y ∂x ∂y
ii. Find B , H and J at P(−2,1,3) .
ax ay az
∂ ∂ ∂
B = ∇× A =
∂x ∂y ∂z
(3 y − z ) 2 xz 0
∂ ∂
= −a x (2 xz ) + a z (2 xz ) = −a x 2 x + a z 2 z T
∂z ∂x
P ( −2,1, 3)
B = 4a x + 6a z T
B −6a x + 6a z
H= = = (3.18a x + 4.77a z ) × 106 A/m 2
µo 4 π × 10 −7
ax ay az
∂ ∂ ∂
J = ∇×H = = 0 A/m 2 [8 marks]
∂x ∂y ∂z
−2 x 0 2z
d A = a x dx + a y dy + a z dz dsx = dydz dv = dxdydz
ds y = dxdz
dsz = dxdy
d A = a ρ d ρ + aφ ρ dφ + a z dz dsρ = ρ dφ dz dv = ρ d ρ dφ dz
dsφ = d ρ dz
dsz = ρ d ρ dφ
⎛ ∂ ∂ ∂ ⎞
∇V = ⎜ a x + ay + az ⎟V
⎝ ∂x ∂y ∂z ⎠
⎛ ∂ 1 ∂ ∂ ⎞
∇V = ⎜ a ρ + aφ + az ⎟V
⎝ ∂ρ ρ ∂φ ∂z⎠
⎛ ∂ 1 ∂ 1 ∂ ⎞
∇V = ⎜ a r + aθ + aφ V
⎝ ∂r r ∂θ r sin θ ∂φ ⎟⎠
⎛ ∂2 ∂2 ∂2 ⎞
∇ 2V = ⎜ 2 + + 2 ⎟V
⎝ ∂x ∂y ∂z
2
⎠
1 ∂ ⎛ ∂V ⎞ 1 ⎛ ∂ 2V ⎞ ∂ 2V
∇ 2V = ⎜ρ ⎟+ 2 ⎜ ⎟+
ρ ∂ρ ⎝ ∂ρ ⎠ ρ ⎝ ∂φ 2 ⎠ ∂z 2
1 ∂ ⎛ 2 ∂V ⎞ 1 ∂ ⎛ ∂V ⎞ 1 ∂ 2V
∇ 2V = ⎜r ⎟+ 2 ⎜ sin θ ⎟+ 2
r ∂r ⎝
2
∂r ⎠ r sin θ ∂θ ⎝ ∂θ ⎠ r sin θ ∂φ 2
2