ENE 206 Matlab 4 Coordinate systems. Vector and scalar quantities Vector scalar A.

Slides:



Advertisements
Similar presentations
What are the x- and y-components of the vector
Advertisements

Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?
General Physics (PHYS101)
EE2030: Electromagnetics (I)
Fundamentals of Applied Electromagnetics
Lecture 15 Today Transformations between coordinate systems 1.Cartesian to cylindrical transformations 2.Cartesian to spherical transformations.
For each point (x,y,z) in R3, the cylindrical coordinates (r,,z) are defined by the polar coordinates r and  (for x and y) together with z. Example Find.
1 Lecture 4 Coordinate Systems: Rectangular, Cylindrical, Spherical.
The Vector or Cross Product Lecture V1.3 Example 5 Moodle.
MOMENT ABOUT AN AXIS Today’s Objectives:
Mathematics Review A.1 Vectors A.1.1 Definitions
Cylindrical and Spherical Coordinates
Vectors and the Geometry of Space 9. 2 Announcement Wednesday September 24, Test Chapter 9 (mostly )
CHAPTER 14 Vectors in three space Team 6: Bhanu Kuncharam Tony Rocha-Valadez Wei Lu.
Coordinate Systems.
Vectors and scalars A scalar quantity can be described by a single number, with some meaningful unit 4 oranges 20 miles 5 miles/hour 10 Joules of energy.
Spherical Coordinates
Coordinate System VECTOR REPRESENTATION 3 PRIMARY COORDINATE SYSTEMS: RECTANGULAR CYLINDRICAL SPHERICAL Choice is based on symmetry of problem Examples:
1-1 Engineering Electromagnetics Chapter 1: Vector Analysis.
Lecture 13 Basic Laws of Vector Algebra Scalars: e.g. 2 gallons, $1,000, 35ºC Vectors: e.g. velocity: 35mph heading south 3N force toward center.
Fall Scalar Quantity (mass, speed, voltage, current and power) 1- Real number (one variable) 2- Complex number (two variables) Vector Algebra (velocity,
Z x y Cylindrical Coordinates But, first, let’s go back to 2D.
ELEN 3371 Electromagnetics Fall Lecture 2: Review of Vector Calculus Instructor: Dr. Gleb V. Tcheslavski Contact:
6.4 Vectors and Dot Products
Vectors and the Geometry of Space
Section 13.4 The Cross Product.
MOMENT ABOUT AN AXIS In-Class Activities: Check Homework Reading Quiz Applications Scalar Analysis Vector Analysis Concept Quiz Group Problem Solving Attention.
UNIVERSITI MALAYSIA PERLIS
ME 2304: 3D Geometry & Vector Calculus
POLAR COORDINATES (Ch )
Review of Vector Analysis
Chapter 3 Vectors Coordinate Systems Used to describe the position of a point in space Coordinate system consists of A fixed reference point called.
MOMENT ABOUT AN AXIS Today’s Objectives: Students will be able to determine the moment of a force about an axis using a) scalar analysis, and b) vector.
7.1 Scalars and vectors Scalar: a quantity specified by its magnitude, for example: temperature, time, mass, and density Chapter 7 Vector algebra Vector:
Chapter 1 - Vector Analysis. Scalars and Vectors Scalar Fields (temperature) Vector Fields (gravitational, magnetic) Vector Algebra.
EEE241: Fundamentals of Electromagnetics
Chemistry 330 The Mathematics Behind Quantum Mechanics.
1.1 – 1.2 The Geometry and Algebra of Vectors.  Quantities that have magnitude but not direction are called scalars. Ex: Area, volume, temperature, time,
Sec 16.7 Triple Integrals in Cylindrical Coordinates In the cylindrical coordinate system, a point P is represented by the ordered triple (r, θ, z), where.
1 ENE 325 Electromagnetic Fields and Waves Lecture 1 Electrostatics.
11.7 Cylindrical and Spherical Coordinates. The Cylindrical Coordinate System In a cylindrical coordinate system, a point P in space is represented by.
1 ENE 325 Electromagnetic Fields and Waves Lecture 1 Electrostatics.
Section 9.1 Polar Coordinates. x OriginPole Polar axis.
Multiple Integrals 12.
Graphing in 3-D Graphing in 3-D means that we need 3 coordinates to define a point (x,y,z) These are the coordinate planes, and they divide space into.
Transformations Dr. Hugh Blanton ENTC Dr. Blanton - ENTC Coordinate Transformations 2 / 29 It is important to compare the units that are.
VECTORS (Ch. 12) Vectors in the plane Definition: A vector v in the Cartesian plane is an ordered pair of real numbers:  a,b . We write v =  a,b  and.
1. Determine vectors and scalars from these following quantities: weight, specific heat, density, volume, speed, calories, momentum, energy, distance.
Sec 13.3The Dot Product Definition: The dot product is sometimes called the scalar product or the inner product of two vectors.
Dr. Hugh Blanton ENTC 3331 Dr. Blanton - ENTC Orthogonal Coordinate Systems 2 Fields and Waves VECTORS and VECTOR CALCULUS.
Scalars & Vectors in Terms of Transformations: Sect. 1.8 Skip Sects. 1,5, 1.6, 1.7 for now. Possibly come back to later (as needed!) Consider the orthogonal.
MOMENT ABOUT AN AXIS Today’s Objectives: Students will be able to determine the moment of a force about an axis using a) scalar analysis, and b) vector.
Vectors scalar quantities magnitude mass temperature electric potential.
ME 201 Engineering Mechanics: Statics Chapter 2 – Part E 2.9 Dot Product.
CALCULUS III CHAPTER 5: Orthogonal curvilinear coordinates
COORDINATE SYSTEMS & TRANSFORMATION
ELECTROMAGNETICS THEORY (SEE 2523).  An orthogonal system is one in which the coordinates are mutually perpendicular.  Examples of orthogonal coordinate.
ENE 325 Electromagnetic Fields and Waves Lecture 2 Static Electric Fields and Electric Flux density.
Soh Ping Jack, Azremi Abdullah Al-Hadi, Ruzelita Ngadiran
Chapter 3 Overview.
Chapter 12 Math 181.
Vector & Coordinate systems
ENE 325 Electromagnetic Fields and Waves
ENE/EIE 325 Electromagnetic Fields and Waves
ENE 325 Electromagnetic Fields and Waves
Reference W.H. Hayt and J.A. Buck , Engineering Electromagnetics, McGraw-Hill, 8th Ed., J. Edminister, Schaum's Outline of Electromagnetics, McGraw-Hill,
Phys 13 General Physics 1 Vector Product MARLON FLORES SACEDON.
Fundamentals of Applied Electromagnetics
CHAPTER 3 VECTORS NHAA/IMK/UNIMAP.
Cylindrical & Spherical Coordinates
Presentation transcript:

ENE 206 Matlab 4 Coordinate systems

Vector and scalar quantities Vector scalar A

Vectors - Magnitude and direction 1. Cartesian coordinate system (x-, y-, z-)

Vector operation in Matlab Cartesian coordinate system Example A = 1a x + 2a y + 3a z >> A = [1 2 3] Find the magnitude of A >> norm(A) or >> abs(A)

Scalar product A  B = |A||B|cos  = ABcos  Equivalent definition A  B = A x B x +A y B y +A z B z Scalar projection example_101

Cross product A x B = |A||B|sin  = ABsin  Equivalent definition Matlab command is >> cross(A,B)

Cross product (cont.) The cross product of the two vectors A = 2a x + 1a y + 0a z and B = 1a x + 2a y + 0a z is shown. The vector product of the two vectors A and B is equal to C = 0a x + 0a y + 3a z. example_102

Scalar triple product A  (B x C)=B  (C x A) = C  (A x B) >> dot(A, cross(B,C))

Vector triple product A x (B x C)=B(A  C) -C(A  B) >> cross(A, cross(B,C))

Volume defined by three vectors originating at a point  v = area of the base x height  v = (|A x B|)(C  a n ) where a n = (A x B)/|A x B| A = [3 0 0]; B = [0 2 0]; C = [0 2 4]; deltav = C  (A x B) example_103

Cylindrical coordinate system ( , , z) orthogonal point ( , , z)  = a radial distance (m)  = the angle measured from x axis to the projection of the radial line onto x-y plane z = a distance z (m)

Transformation of a vector in cylindrical coordinates to one in Cartesian coordinates A x = A  a x A y = A  a y A z = A  a z where A is in cylindrical coordinates and assumed constant.

Dot products of unit vectors in Cartesian and cylindrical coordinate systems cos  -sin  0 sin  cos  0 001

Conversion of variables between Cartesian and cylindrical coordinates A conversion from P(x,y,z) to P( ρ, , z) A conversion from P( ρ, , z) to P(x,y,z) Matlab command [ph,rh,z] = cart2pol(x,y,z) Matlab command [x,y,z] = pol2cart(ph,rh,z)

The transformation of a vector A = 3a x + 2a y + 4a z in Cartesian coordinates into a vector in cylindrical coordinates. The unit vectors of the two coordinate systems are indicated. figure_112

Cylinder creation in Matlab >> [x,y,z] = cylinder(r,n); >> surf (x,y,z) where r = radius n = number of pts along the circumference.

Spherical coordinate system ( , ,  ) orthogonal point (r, ,  ) r = a radial distance from the origin to the point (m)  = the angle measured from the positive z-axis (0     )  = an azimuthal angle, measured from x-axis (0    2  ) figure_113

Transformation of a vector in spherical coordinates to one in Cartesian coordinates A x = A  a x A y = A  a y A z = A  a z where A is in spherical coordinates and assumed constant.

Dot products of unit vectors in Cartesian and spherical coordinates sin  cos  cos  cos  -sin  sin  sin  cos  sin  cos  cos  -sin  0

Conversion of variables between Cartesian and spherical coordinate systems A conversion from P(x,y,z) to P(r, ,  ) A conversion from P(r, ,  ) to P(x,y,z) Matlab command [th,phi,r] = cart2sph(x,y,z) Matlab command [x,y,z] = sph2cart(th,phi,r)

Convert the Cartesian coordinate point P(3, 5, 9) to its equivalent point in cylindrical and spherical coordinates.