1. ## Emft ebook

HERE is some pages from EMFT book.have a look .
List of Scilab Codes 4
1 Vector Analysis 2
2 Columb's Law and Electric Field Intensity 6
3 Electric Flux Density, Gauss's Law and Divergence 10
4 Energy and Potential 16
5 Current and Conductors 21
6 Dielectrics and Capacitance 24
7 Poisson's and Laplace's Equation 27
8 The Steady Magnetic Field 32
9 Magnetic Forces, Materials and Inductance 35
11 Transmission Lines 47
12 The Uniform Plane Wave 58
13 Plane Wave Re
ection and Dispersion 65
14 Guided Wave and Radiation 76
3
List of Scilab Codes
Exa 1.1 Program to nd the unit vector . . . . . . . . . . . . . 2
Exa 1.2 Program to nd the phase angle between two vectors . 2
Exa 1.3 Transform the vector of Rectangular coordinates into
cylindrical coordinates . . . . . . . . . . . . . . . . . . 3
Exa 1.4 Transform the vector of Rectangular coordinates into
spherical coordinates . . . . . . . . . . . . . . . . . . . 4
Exa 2.1 Program to Calculate force exerted on Q2 by Q1 . . . 6
Exa 2.2 Program to Calculate Electric Field E at P due to 4
identical charges . . . . . . . . . . . . . . . . . . . . . 7
Exa 2.3 Program to nd the total charge enclosed in a volume 8
Exa 3.1 Program to nd Electric Flux density 'D' of a uniform
line charge . . . . . . . . . . . . . . . . . . . . . . . . 10
Exa 3.2 Program to calculate surface charge density, Flux den-
sity, Field Intensity of coaxial cable . . . . . . . . . . . 11
Exa 3.3 Program to calculate the total charge enclosed in a vol-
ume at the origin . . . . . . . . . . . . . . . . . . . . . 12
Exa 3.4 Program to Find the Divergence of 'D' at the origin . 13
Exa 3.5 Program to verify the Divergence theorem for the eld
'D' . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Exa 4.1 Program to nd the work involved 'W' in moving a
charge 'Q' along shorter arc of a circle . . . . . . . . . 16
Exa 4.2 Program to nd the work involved 'W' in moving a
charge 'Q' along straight line . . . . . . . . . . . . . . 17
Exa 4.3 Program to calculate E, D and volume charge density
using divergence of D . . . . . . . . . . . . . . . . . . 18
Exa 5.1 Program to nd the resistance, current and current den-
sity . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4
Exa 5.2 Program to nd potential at point P, Electric Field In-
tensity E, Flux density D . . . . . . . . . . . . . . . . 22
Exa 5.3 Program to determine the equation of the streamline
passing through any point . . . . . . . . . . . . . . . 23
Exa 6.1 Program to calculate D, E and Polarization P for Te
on
slab . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Exa 6.2 Program to calculate E and Polarization P for Te
on
slab . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Exa 6.3 Program to calculate the capacitance of a parallel plate
capacitor . . . . . . . . . . . . . . . . . . . . . . . . . 25
Exa 7.1 Derivation of capacitance of a parallel plate capacitor . 27
Exa 7.2 Capacitance of a Cylindrical Capacitor . . . . . . . . . 28
Exa 7.3 Program to determine the electric eld of a two innite
radial planes with an interior angle alpha . . . . . . . 29
Exa 7.4 Derivation of capacitance of a spherical capacitor . . . 30
Exa 7.5 Potential in spherical coordinates as a function of teta
V(teta) . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Exa 8.1 Program to nd the magnetic eld intensity of a current
carrying lament . . . . . . . . . . . . . . . . . . . . . 32
Exa 8.2 Program to nd the curlH of a square path of side 'd' 33
Exa 8.3 Program to verify Stokes theorem . . . . . . . . . . . 33
Exa 9.1 Program to nd magnetic eld and force produced in a
square loop . . . . . . . . . . . . . . . . . . . . . . . . 35
Exa 9.2 Program to determine the dierential force between two
dierential current elements . . . . . . . . . . . . . . . 36
Exa 9.3 Program to calculate the total torque acting on a planar
rectangular current loop . . . . . . . . . . . . . . . . . 37
Exa 9.4 Program to nd the torque and force acting on each side
of planar loop . . . . . . . . . . . . . . . . . . . . . . . 38
Exa 9.5 Program to nd Magnetic Susceptibility, H , Magneti-
zation M . . . . . . . . . . . . . . . . . . . . . . . . . 40
Exa 9.6 Program to nd the boundary conditions on magnetic
eld . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Exa 9.7 Program to nd magnetomotive force 'Vm' and reluc-
tance 'R' . . . . . . . . . . . . . . . . . . . . . . . . . 42
Exa 9.8 Program to nd total Magnetic Flux Density in Weber 43
Exa 9.9 Program to calculate self inductances and Mutual In-
ductances between two coaxial solenoids . . . . . . . . 44
5
Exa 11.1 Program to determine the total voltage as a function of
time and position in a loss less transmission line . . . 47
Exa 11.2 Program to nd the characteristic impedance, the phase
constant an the phase velocity . . . . . . . . . . . . . 47
Exa 11.3 Program to nd the magnitude and phase of character-
istic impedance Zo . . . . . . . . . . . . . . . . . . . . 48
Exa 11.4 Program to nd the output power and attenuation co-
ecient . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Exa 11.5 Program to nd the power dissipated in the lossless
transmission line . . . . . . . . . . . . . . . . . . . . . 49
Exa 11.6 Program to nd the total loss in lossy lines . . . . . . 50
Exa 11.7 Program to nd the load impedance of a slotted line . 51
Exa 11.8 Program to nd the input impedance and power deliv-
ered to the load . . . . . . . . . . . . . . . . . . . . . 51
Exa 11.9 Program to nd the input impedance for a line termi-
nated with pure capacitive impedance . . . . . . . . . 53
Exa 11.10 Program to nd the input impedance for a line termi-
nated with impedance (with inductive reactance) . . . 54
Exa 11.11 Program to nd the voltage at the load resistor and the
current in the battery . . . . . . . . . . . . . . . . . . 54
Exa 11.12 Program to plot the voltage and current through a re-
sistor . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Exa 12.1 Program to determine the phasor of forward propagat-
ing eld . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Exa 12.2 Program to determine the instantaneous eld of a plane
wave . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Exa 12.3 Program to nd the Phase constant, Phase velocity,
Electric Field Intensity and Intrinsic ratio . . . . . . . 59
Exa 12.4 Program to nd the penetration depth and intrinsic
impedance . . . . . . . . . . . . . . . . . . . . . . . . 60
Exa 12.5 Program to nd the attenuation constant, propagation
constant and intrinsic impedance . . . . . . . . . . . . 61
Exa 12.6 Program to nd skin depth, loss tangent and phase ve-
locity . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Exa 12.7 Program to nd the electric eld of linearly polarized
wave . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Exa 13.1 Program to nd the electric eld of incident, re
ected
and transmitted waves . . . . . . . . . . . . . . . . . . 65
6
Exa 13.2 Program to nd the maxima and minima electric eld 66
Exa 13.3 Program to determine the intrinsic impedance of the
unknown material . . . . . . . . . . . . . . . . . . . . 68
Exa 13.4 Program to determine the required range of glass thick-
ness for Fabry-perot interferometer . . . . . . . . . . . 68
Exa 13.5 Program to nd the required index for the coating and
its thickness . . . . . . . . . . . . . . . . . . . . . . . 69
Exa 13.6 Program to nd the phasor expression for the electric
eld . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Exa 13.7 Program to nd the fraction of incident power that is
re
ected and transmitted . . . . . . . . . . . . . . . . 71
Exa 13.8 Program to nd the refractive index of the prism material 72
Exa 13.9 Program to determine incident and transmitted anlges 73
Exa 13.10 Program to determine group velocity and phase velocity
of a wave . . . . . . . . . . . . . . . . . . . . . . . . . 74
Exa 13.11 Program to determine the pulse width at the optical
ber output . . . . . . . . . . . . . . . . . . . . . . . . 74
Exa 14.1 Program to determine the cuto frequency for the rst
waveguide mode(m=1) . . . . . . . . . . . . . . . . . . 76
Exa 14.2 Program to determine the number of modes propagate
in waveguide . . . . . . . . . . . . . . . . . . . . . . . 76
Exa 14.3 Program to determine the group delay and dierence in
propagation times . . . . . . . . . . . . . . . . . . . . 77
Exa 14.4 Program to determine the operating range of frequency
for TE10 mode of air lled rectangular waveguide . . . 78
Exa 14.5 Program to determine the maximum allowable refrac-
tive index of the slab material . . . . . . . . . . . . . . 79
Exa 14.6 Program to nd the V number of a step index ber . . 79
ARC 1 Program to calculate the attenuation constant of good
dielectric . . . . . . . . . . . . . . . . . . . . . . . . . 79
ARC 2 Program used to convert cartesian coordinates into cylin-
drical coordinates . . . . . . . . . . . . . . . . . . . . 80
ARC 3 Program used to convert cartesian coordinates into spher-
ical coordinates . . . . . . . . . . . . . . . . . . . . . . 80
ARC 4 Program used to nd the cross product of two vectors 80
ARC 5 Program used to convert the cylindrical coordinates into 81
ARC 6 Program to nd the dot product of two vectors . . . . 81
ARC 7 Program to nd the electrical length . . . . . . . . . . 81
7
ARC 8 Program used to calculate the electric eld intensity of
a line charge . . . . . . . . . . . . . . . . . . . . . . . 81
ARC 9 Program to nid the group delay dierence . . . . . . 82
ARC 10 Program to nd the group delay . . . . . . . . . . . . 82
ARC 11 Program to nd the intrinsic impedance of dielectric . 82
ARC 12 Program to nd the intrinsic imedance of a good di-
electric . . . . . . . . . . . . . . . . . . . . . . . . . . 82
ARC 13 Program to nd the free space permittivity and free
space permeability . . . . . . . . . . . . . . . . . . . . 83
ARC 14 rogram used to nd the capacitance of a parallel plate
Capacitor . . . . . . . . . . . . . . . . . . . . . . . . . 83
ARC 15 Program to nd the impedance of a parallel connection 83
ARC 16 Program used to calculate the phase angle . . . . . . . 84
ARC 17 Program to nd the phase constant of dielectric . . . . 84
ARC 18 Program to nd the phase constant of a good dielectric 84
ARC 19 Program to nd the phase velocity . . . . . . . . . . . 85
ARC 21 Program to nd the propagation constant . . . . . . . 85
ARC 22 Program to nd the re
ection coecient . . . . . . . . 85
ARC 23 Program to nd the re
ection coecient . . . . . . . . 85
ARC 24 Program to calculate the skin depth of a good conductor 86
ARC 25 Program to nd the refracted angle using snell's law . 86
ARC 26 Program used to convert spherical coordinates into carte-
sian coordinates . . . . . . . . . . . . . . . . . . . . . 86
ARC 27 Program used to nd the Unit vector . . . . . . . . . . 87
ARC 28 Program to nd the Voltage StandingWave Ratio VSWR 87