Documente Academic
Documente Profesional
Documente Cultură
EXERCISES
1 ELECTROSTATIC FIELD IN FREE SPACE 1
1.1 Coulomb’s Law . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1
ME 1.1 Vector magnitude. TUTORIAL (vectorMag.m on IR)
ME 1.2 2-D vector plot. HINT (vecPlot2D.m)
ME 1.3 3-D vector plot. TUTORIAL (vecPlot3D.m)
ME 1.4 Electric force due to multiple charges. TUTORIAL (ME1 4.m)
ME 1.5 Four charges at tetrahedron vertices. HINT H 2 (ME1 5.m)
ME 1.6 Three point charges in Cartesian coordinate system. HINT H (ME1 6.m)
1.2 Electric Field Intensity Vector Due to Given Charge Distributions . . . . . . . . . . 9
ME 1.7 Electric field due to multiple charges. (ME1 7.m)
ME 1.8 Three charges at rectangle vertices. HINT H (ME1 8.m)
ME 1.9 Charged ring and an equivalent point charge. HINT (ME1 9.m)
ME 1.10 Symbolic integration. (integral.m)
ME 1.11 Charged disk – symbolic and analytical solutions. TUTORIAL (ME1 11.m)
ME 1.12 Charged hemisphere – numerical integration. HINT H (ME1 12.m)
ME 1.13 Vector numerical integration and field visualization using quiver. TUTORIAL (ME1 13.m)
ME 1.14 Visualization of the electric field due to four point charges. HINT (ME1 14.m)
ME 1.15 Another field visualization using quiver. (ME1 15.m)
ME 1.16 Fields due to line charges of finite and infinite lengths. HINT (ME1 16.m)
1.3 Electric Scalar Potential . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
ME 1.17 Dot product of two vectors. (dotProduct.m)
ME 1.18 Numerical integration of a line integral. (LineIntegral.m)
ME 1.19 Work in the field of a point charge. TUTORIAL H (ME1 19.m)
ME 1.20 Numerical proof that E-field is conservative – movie. TUTORIAL (ME1 20.m)
ME 1.21 Circulation of E-vector along a contour of complex shape. H (ME1 21.m)
ME 1.22 Electric potential due to multiple charges. HINT (ME1 22.m)
ME 1.23 Electric potential due to a charged ring. (ME1 23.m)
1.4 Differential Relationship Between the Field and Potential in Electrostatics,
Gradient . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
ME 1.24 Cartesian to cylindrical and spherical coordinate conversions. (car2Cyl.m, car2Sph.m, cyl2-
Car.m, and sph2Car.m)
ME 1.25 GUI for different coordinate conversions. HINT [folder ME1 25(GUI) on IR]
ME 1.26 Symbolic gradient in different coordinate systems. HINT (gradCar.m, gradCyl.m, and grad-
Sph.m)
ME 1.27 Field from potential, in three coordinate systems. (ME1 27.m)
1
IR = Instructor Resources (for the book); all m files are provided on IR. The material on IR is meant
for instructors only.
2
H = recommended to be done also “by hand,” i.e., not using MATLAB.
A-8
MATLAB
R
-Based Electromagnetics A-9
ME 4.2 Magnetic force between two moving point charges. TUTORIAL H (ME4 2.m)
ME 4.3 Magnetic flux density vector due to a moving charge. (ME4 3.m)
ME 4.4 Magnetic field due to multiple moving charges. HINT (ME4 4.m)
ME 4.5 Electron travel in a uniform magnetic field – movie. TUTORIAL (ME4 5.m)
4.2 Magnetic Field Computation Using Biot–Savart Law . . . . . . . . . . . . . . . . . . 92
ME 4.6 Magnetic field of a finite straight wire conductor. (Bwireline.m)
ME 4.7 Triangular current loop. H (ME4 7.m)
ME 4.8 Function to generate a 3-D plot of a circle. TUTORIAL (circle.m)
ME 4.9 3-D visualization of magnetic field lines. TUTORIAL (ME4 9.m)
ME 4.10 Circular surface current distribution, symbolic integration. TUTORIAL H (ME4 10.m)
ME 4.11 Magnetic field of a finite solenoid. (BzFiniteSolenoid.m)
ME 4.12 Field plots for different length-to-diameter ratios. H (ME4 12.m)
4.3 Ampère’s Law in Integral Form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
ME 4.13 Magnetic field of a cylindrical conductor. (ME4 13.m)
ME 4.14 Magnetic field of a triaxial cable. HINT (ME4 14.m)
ME 4.15 Visualization of the B-vector using quiver. TUTORIAL (ME4 15.m)
ME 4.16 Field visualization by quiver for a triaxial cable. (ME4 16.m)
4.4 Differential Form of Ampère’s Law, Curl . . . . . . . . . . . . . . . . . . . . . . . . . . 102
ME 4.17 Symbolic curl in different coordinate systems. (curlCar.m, curlCyl.m, and curlSph.m)
ME 4.18 Ampère’s law in differential form. H (ME4 18.m)
4.5 Magnetic Vector Potential . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
ME 4.19 Magnetic flux density from vector potential. H (ME4 19.m)
4.6 Magnetic Dipole . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
ME 4.20 Magnetic dipole potential and field functions. (magDipoleA.m and magDipoleB.m)
ME 4.21 A and B computation for a magnetic dipole. H (ME4 21.m)
ME 4.22 B from A for a magnetic dipole, symbolic differentiation. H (ME4 22.m)
ME 4.23 Visualization of the magnetic dipole potential using quiver. HINT (ME4 23.m)
ME 8.18 3-D movie of oblique incidence on a PEC – parallel polarization. (ME8 18.m)
8.4 Oblique Incidence on a Dielectric Boundary . . . . . . . . . . . . . . . . . . . . . . . . 192
ME 8.19 Fresnel’s coefficients for normal and parallel polarizations. (gammaFresnel.m and tauFresnel.m)
ME 8.20 3-D movie of oblique incidence, parallel polarization, on a dielectric interface. TUTORIAL
(ME8 20.m)
ME 8.21 Oblique incidence, normal polarization, on a dielectric interface. (ME8 21.m)
ME 8.22 Plots of Fresnel’s reflection coefficients and Brewster angle. HINT (BrewsterAngle.m and
ME8 22.m)
ME 8.23 Prism function – for computation of light beams in a glass prism. TUTORIAL (prismFunc.m)
ME 8.24 Angular dispersion of white light by a glass prism. TUTORIAL H (ME8 24.m)
ME 8.25 Variations of the light dispersion experiment with a glass prism. H (ME8 25.m)
8.5 Wave Propagation in Multilayer Media . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
ME 8.26 Lossless three-media structure. (threeMediaLossless.m)
ME 8.27 Lossy three-media structure. (threeMediaLossy.m)
ME 9.18 Microstrip lines with different strip width to height ratios. HINT H (ME9 18.m)
ME 9.19 Analysis of a microstrip line with and without fringing. TUTORIAL (ME9 19.m)
ME 9.20 Analysis of a strip line with and without fringing. HINT (ME9 20.m)
ME 9.21 Microstrip line design. H (ME9 21.m)
ME 9.22 Strip line design. TUTORIAL H (ME9 22.m)
ME 9.23 Design of a microstrip line with same properties as a coaxial cable. H (ME9 23.m)
ME 9.24 Design of a strip line with same properties as a two-wire line. HINT H (ME9 24.m)
ME 9.25 One more strip line design. H (ME9 25.m)
ME 10.53 Direct pulse analysis of a line – implementing a pulse excitation. HINT (ME10 53.m)
ME 10.54 Overlapping pulses at the load – pulse response from step analysis. H (ME10 54.m)
ME 10.55 Overlapping pulses at the load – direct pulse analysis. (ME10 55.m)
ME 10.56 Bipolar triangular pulse response – complete MATLAB analysis. HINT H (ME10 56.m)
ME 10.57 Effects of a finite rise time of step signals – complete MATLAB analysis. HINT H (ME10 57.m)
ME 11.14 GUI with three types of field visualization, arbitrary mode. TUTORIAL [folder ME11 14(GUI)
on IR]
ME 11.15 GUI with field plots for the dominant mode. TUTORIAL [folder ME11 15(GUI) on IR]
ME 11.16 GUI with field plots for the lowest TM mode. [folder ME11 16(GUI) on IR]
11.3 Wave Impedances of TE and TM Waves . . . . . . . . . . . . . . . . . . . . . . . . . . 306
ME 11.17 TE and TM wave impedances for a rectangular waveguide. (TEWaveImpedance.m and
TMWaveImpedance.m)
ME 11.18 Wave impedance plot for the dominant mode. HINT (ME11 18.m)
ME 11.19 Wave impedance plot for the lowest TM mode. (ME11 19.m)
11.4 Power Flow Along a Waveguide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
ME 11.20 Transmitted power along a waveguide, symbolic integration. TUTORIAL (transmitted-
Power.m)
ME 11.21 Symbolic computation of power, arbitrary TE mode. TUTORIAL (ME11 21.m)
ME 11.22 Symbolic computation of power, arbitrary TM mode. (ME11 22.m)
ME 11.23 Power transfer by TE02 , TE11 , and TM21 wave modes. H
11.5 Waveguides With Small Losses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
ME 11.24 Usable frequency range of a standard waveguide. (usableFreqRange.m)
ME 11.25 Attenuation coefficient for the waveguide conductor, dominant mode. (alphaCondTE10.m)
ME 11.26 Attenuation coefficient for the waveguide dielectric, any mode. (alphaDiel.m)
ME 11.27 Plots of attenuation coefficients in the usable frequency range. HINT (ME11 27.m)
11.6 Waveguide Dispersion and Group Velocity . . . . . . . . . . . . . . . . . . . . . . . . . 312
ME 11.28 Phase and group velocities in a rectangular waveguide. (waveguidePhaseVelocity.m and waveg-
uideGroupVelocity.m)
ME 11.29 Plots of phase and group velocities vs. frequency, several modes. HINT (ME11 29.m)
ME 11.30 Plots of phase and group velocities vs. frequency, several dielectrics. (ME11 30.m)
11.7 Rectangular Cavity Resonators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
ME 11.31 Resonant frequency of an arbitrary cavity mode. (resoFreq.m)
ME 11.32 Field computation for an arbitrary TE mode in a resonant cavity. HINT (ExTECavity.m,
EyTECavity.m, HxTECavity.m, HyTECavity.m, and HzTECavity.m)
ME 11.33 GUI with field plots for the dominant cavity mode. HINT [folder ME11 33(GUI) on IR]
11.8 Electromagnetic Energy Stored in a Cavity Resonator . . . . . . . . . . . . . . . . . 316
ME 11.34 Stored energy, any TE or TM cavity mode, symbolic integration. HINT (storedEnergy.m)
ME 11.35 Symbolic computation of energy, dominant cavity mode. TUTORIAL H (ME11 35.m)
ME 11.36 Stored energy of a TM111 wave in a rectangular cavity. H (ME11 36.m)
11.9 Quality Factor of Rectangular Cavities with Small Losses . . . . . . . . . . . . . . . 319
ME 11.37 Total quality factor for the dominant cavity mode. (QFactorCavity.m)