electromagnetic field theory...

19
Electromagnetic Field Theory (EMT) Lecture # 3 Cartesian & Cylindrical Coordinates

Upload: others

Post on 21-Mar-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Electromagnetic Field Theory (EMT)nanotechlab.itu.edu.pk/wp-content/uploads/2017/01/Lectrure-3a.pdf · In order to describe the spatial variations of the physical quantities, we must

Electromagnetic Field Theory (EMT)

Lecture # 3

Cartesian & Cylindrical Coordinates

Page 2: Electromagnetic Field Theory (EMT)nanotechlab.itu.edu.pk/wp-content/uploads/2017/01/Lectrure-3a.pdf · In order to describe the spatial variations of the physical quantities, we must

Scalar Component:

Vector Component:

Components of a Vector

Page 3: Electromagnetic Field Theory (EMT)nanotechlab.itu.edu.pk/wp-content/uploads/2017/01/Lectrure-3a.pdf · In order to describe the spatial variations of the physical quantities, we must

Example

Given the two vectors A = 3ux + 4uy and B = 12ux + 5uy Cartesian

coordinates, evaluate the following quantities. In addition, state the

MATLAB commands that can be used to check your answers.

(a) the scalar product A • B

(b) the angle between the two vectors

(c) the scalar product A • A

(d) the vector product A × B

Scalers & Vectors

Page 4: Electromagnetic Field Theory (EMT)nanotechlab.itu.edu.pk/wp-content/uploads/2017/01/Lectrure-3a.pdf · In order to describe the spatial variations of the physical quantities, we must

In order to describe the spatial variations of the physical quantities, we

must be able to define all points uniquely in space in a suitable manner.

This requires using an appropriate coordinate system.

A considerable amount of work and time may be saved by choosing a

coordinate system that best fits a given problem.

A hard problem in one coordinate system may turn out to be easy in

another system.

We shall restrict ourselves to the three best-known coordinate systems:

the Cartesian, the cylindrical, and the spherical.

Coordinate Systems

Page 5: Electromagnetic Field Theory (EMT)nanotechlab.itu.edu.pk/wp-content/uploads/2017/01/Lectrure-3a.pdf · In order to describe the spatial variations of the physical quantities, we must

Bear in mind that the concepts demonstrated in Cartesian coordinates

are equally applicable to other systems of coordinates

For example, the procedure for finding dot or cross product of two

vectors in a cylindrical system is the same as that used in the Cartesian

system

Sometimes, it is necessary to transform points and vectors from one

coordinate system to another

The techniques for doing this will be presented and illustrated with

examples

Coordinate Systems

Page 6: Electromagnetic Field Theory (EMT)nanotechlab.itu.edu.pk/wp-content/uploads/2017/01/Lectrure-3a.pdf · In order to describe the spatial variations of the physical quantities, we must

A vector A in Cartesian (also known as rectangular) coordinates can be

written as:

where ax, ay, and az are unit vectors along the x-, y-, and z-directions

Cartesian Coordinates (X,Y,Z)

Page 7: Electromagnetic Field Theory (EMT)nanotechlab.itu.edu.pk/wp-content/uploads/2017/01/Lectrure-3a.pdf · In order to describe the spatial variations of the physical quantities, we must

The cylindrical coordinate system is very convenient whenever we are

dealing with problems having cylindrical symmetry

Cylindrical Coordinates (ρ,Φ,z)

A point P in cylindrical coordinates is represented as (ρ, Φ, z) as shown in the figure:

ρ is the radius of the cylinder passing through P or the radial distance from the z-axis

Φ is measured from the x-axis in the xy-plane

z is the same as in the Cartesian system

Page 8: Electromagnetic Field Theory (EMT)nanotechlab.itu.edu.pk/wp-content/uploads/2017/01/Lectrure-3a.pdf · In order to describe the spatial variations of the physical quantities, we must

The ranges of the variables are:

A vector A in cylindrical coordinates can be written as:

where aρ, aΦ, and az are unit vectors in the ρ, Φ and z directions

For example, if a force of 10 N acts on a particle in a circular motion, the

force may be represented as F = 10aΦ N

The magnitude of A is:

Cylindrical Coordinates (ρ,Φ,z)

Page 9: Electromagnetic Field Theory (EMT)nanotechlab.itu.edu.pk/wp-content/uploads/2017/01/Lectrure-3a.pdf · In order to describe the spatial variations of the physical quantities, we must

Notice that the unit vectors aρ, aΦ, and az are mutually perpendicular

because our coordinate systems are orthogonal

aρ points in the direction of increasing ρ, aΦ in the direction of increasing

Φ, and az in the positive z-direction, so we have:

Cylindrical Coordinates (ρ,Φ,z)

Page 10: Electromagnetic Field Theory (EMT)nanotechlab.itu.edu.pk/wp-content/uploads/2017/01/Lectrure-3a.pdf · In order to describe the spatial variations of the physical quantities, we must

The relationships between the variables (x, y, z) of the Cartesian

coordinate system and those of the cylindrical system (ρ, Φ, z) are easily

obtained from figure shown:

Point Transformations

Page 11: Electromagnetic Field Theory (EMT)nanotechlab.itu.edu.pk/wp-content/uploads/2017/01/Lectrure-3a.pdf · In order to describe the spatial variations of the physical quantities, we must

For transforming a point from Cartesian (x, y, z) to Cylindrical (ρ, Φ, z)

coordinates:

For transforming a point from Cylindrical (ρ, Φ, z) to Cartesian (x, y, z)

coordinates:

Point Transformations

Page 12: Electromagnetic Field Theory (EMT)nanotechlab.itu.edu.pk/wp-content/uploads/2017/01/Lectrure-3a.pdf · In order to describe the spatial variations of the physical quantities, we must

The relationships between (ax, ay, az) and (aρ, aΦ, az) are obtained

geometrically from figure below showing cylindrical components of ax

Unit Vector Transformations

Page 13: Electromagnetic Field Theory (EMT)nanotechlab.itu.edu.pk/wp-content/uploads/2017/01/Lectrure-3a.pdf · In order to describe the spatial variations of the physical quantities, we must

The relationships between (ax, ay, az) and (aρ, aΦ, az) are obtained

geometrically from figure below showing cylindrical components of ay

Unit Vector Transformations

Page 14: Electromagnetic Field Theory (EMT)nanotechlab.itu.edu.pk/wp-content/uploads/2017/01/Lectrure-3a.pdf · In order to describe the spatial variations of the physical quantities, we must

In summary, we have:

OR

Unit Vector Transformations

Page 15: Electromagnetic Field Theory (EMT)nanotechlab.itu.edu.pk/wp-content/uploads/2017/01/Lectrure-3a.pdf · In order to describe the spatial variations of the physical quantities, we must

Finally, the relationships between (Ax, Ay, Az) and (Aρ, AΦ, Az) are

obtained by simply substituting the unit vector transformations into the

equation below:

After collecting terms, we get:

OR

Vector Transformations

Page 16: Electromagnetic Field Theory (EMT)nanotechlab.itu.edu.pk/wp-content/uploads/2017/01/Lectrure-3a.pdf · In order to describe the spatial variations of the physical quantities, we must

The transformations may be written in matrix form as:

AND

Vector Transformations

Page 17: Electromagnetic Field Theory (EMT)nanotechlab.itu.edu.pk/wp-content/uploads/2017/01/Lectrure-3a.pdf · In order to describe the spatial variations of the physical quantities, we must

Example

(a) A bar graph that contains five numbers x = 2, 4, 6, 8, 10.

(b) Plot the numbers y = 5, 4, 3, 2, 1 vs. x.

(c) Plot two cycles of a sine wave using the ‘fplot’ command. Introduce the

symbol θ with the command ‘\theta’ in the ‘xlabel’ or in a text statement.

(d) Plot an exponential function in the range 0 < x < 3. Calculate this

function with the interval Δx = 0.01. Text items such as the ‘ylabel’ or a

statement can include superscripts and subscripts. The superscript is

introduced with the command ‘^’ and the subscript is introduced with the

command ‘_’.

MATLAB Section

Page 18: Electromagnetic Field Theory (EMT)nanotechlab.itu.edu.pk/wp-content/uploads/2017/01/Lectrure-3a.pdf · In order to describe the spatial variations of the physical quantities, we must

Commands Needed

1) clear = clear all variables and functions from memory.

2) clf = clear current figures

3) cla = clear current axis

4) hold = hold current graph

5) subplot = subplot(m,n,p), or subplot(mnp), breaks the Figure window into an

m-by-n matrix of small axes, selects the p-th axes for the current plot

6) xlabel & ylable = for labelling axis

7) fplot(FUN,LIMS) = plots the function FUN between the x-axis limits specified

by LIMS = [XMIN XMAX].

8) bar(Y) uses the default value of X=1:M

MATLAB Section

Page 19: Electromagnetic Field Theory (EMT)nanotechlab.itu.edu.pk/wp-content/uploads/2017/01/Lectrure-3a.pdf · In order to describe the spatial variations of the physical quantities, we must

MATLAB Section