LABORATORY MODULE. EKT 241/4 ELECTROMAGNETIC THEORY Semester 2 (2009/2010) EXPERIMENT # 2

Similar documents
Lecture 10 Divergence, Gauss Law in Differential Form

Sections minutes. 5 to 10 problems, similar to homework problems. No calculators, no notes, no books, no phones. No green book needed.

MAC2313 Final A. (5 pts) 1. How many of the following are necessarily true? i. The vector field F = 2x + 3y, 3x 5y is conservative.

(a) The points (3, 1, 2) and ( 1, 3, 4) are the endpoints of a diameter of a sphere.

UNIVERSITY of LIMERICK OLLSCOIL LUIMNIGH

Department of Mathematics, IIT Bombay End-Semester Examination, MA 105 Autumn-2008

Created by T. Madas VECTOR OPERATORS. Created by T. Madas

Fundamental Electromagnetics (Chapter 4: Vector Calculus)

EELE 3331 Electromagnetic I Chapter 3. Vector Calculus. Islamic University of Gaza Electrical Engineering Department Dr.

Notes 19 Gradient and Laplacian

Vector Analysis. Electromagnetic Theory PHYS 401. Fall 2017

UNIVERSITY OF BOLTON WESTERN INTERNATIONAL COLLEGE FZE B.ENG(HONS) ELECTRICAL & ELECTRONIC ENGINEERING SEMESTER ONE EXAMINATION 2015/2016

Notes 3 Review of Vector Calculus

Mathematical Notes for E&M Gradient, Divergence, and Curl

ENERGY IN ELECTROSTATICS

Multiple Integrals and Vector Calculus (Oxford Physics) Synopsis and Problem Sets; Hilary 2015

Math 23b Practice Final Summer 2011

Chapter 3 - Vector Calculus

ES.182A Topic 45 Notes Jeremy Orloff

Method of Lagrange Multipliers

Physics 6303 Lecture 2 August 22, 2018

UNIVERSITY of LIMERICK OLLSCOIL LUIMNIGH

16.2. Line Integrals

MATHS 267 Answers to Stokes Practice Dr. Jones

1 + f 2 x + f 2 y dy dx, where f(x, y) = 2 + 3x + 4y, is

12. Stresses and Strains

Problem Solving 1: Line Integrals and Surface Integrals

Vector Calculus. Dr. D. Sukumar. February 1, 2016

UNIT 1. INTRODUCTION

Lecture: Wave-induced Momentum Fluxes: Radiation Stresses

G G. G. x = u cos v, y = f(u), z = u sin v. H. x = u + v, y = v, z = u v. 1 + g 2 x + g 2 y du dv

SOLUTIONS TO THE FINAL EXAM. December 14, 2010, 9:00am-12:00 (3 hours)

Directional Derivative and the Gradient Operator

MATH 311 Topics in Applied Mathematics I Lecture 36: Surface integrals (continued). Gauss theorem. Stokes theorem.

PRACTICE PROBLEMS. Please let me know if you find any mistakes in the text so that i can fix them. 1. Mixed partial derivatives.

DO NOT BEGIN THIS TEST UNTIL INSTRUCTED TO START

Vector Calculus, Maths II

Multiple Integrals and Vector Calculus: Synopsis

Introduction to Vector Calculus (29) SOLVED EXAMPLES. (d) B. C A. (f) a unit vector perpendicular to both B. = ˆ 2k = = 8 = = 8

Math 234 Final Exam (with answers) Spring 2017

Directional Derivatives in the Plane

Lecture 04. Curl and Divergence

Vector Calculus - GATE Study Material in PDF

Solutions to Sample Questions for Final Exam

MAT 211 Final Exam. Spring Jennings. Show your work!

Page Points Score Total: 210. No more than 200 points may be earned on the exam.

Practice Problems for Exam 3 (Solutions) 1. Let F(x, y) = xyi+(y 3x)j, and let C be the curve r(t) = ti+(3t t 2 )j for 0 t 2. Compute F dr.

Chain Rule. MATH 311, Calculus III. J. Robert Buchanan. Spring Department of Mathematics

Jim Lambers MAT 280 Summer Semester Practice Final Exam Solution. dy + xz dz = x(t)y(t) dt. t 3 (4t 3 ) + e t2 (2t) + t 7 (3t 2 ) dt

free space (vacuum) permittivity [ F/m]

Exercises for Multivariable Differential Calculus XM521

Stokes s Theorem 17.2

Created by T. Madas LINE INTEGRALS. Created by T. Madas

Chapter 1. Vector Algebra and Vector Space

Math 3435 Homework Set 11 Solutions 10 Points. x= 1,, is in the disk of radius 1 centered at origin

One side of each sheet is blank and may be used as scratch paper.

Review Sheet for the Final

Tangent Planes, Linear Approximations and Differentiability

Today in Physics 217: electric potential

In addition to the problems below, here are appropriate study problems from the Miscellaneous Exercises for Chapter 6, page 410: Problems

7a3 2. (c) πa 3 (d) πa 3 (e) πa3

Review for the Final Test

x + ye z2 + ze y2, y + xe z2 + ze x2, z and where T is the

52. The Del Operator: Divergence and Curl

S12.1 SOLUTIONS TO PROBLEMS 12 (ODD NUMBERS)

Ma 1c Practical - Solutions to Homework Set 7

Disclaimer: This Final Exam Study Guide is meant to help you start studying. It is not necessarily a complete list of everything you need to know.

EKC314: TRANSPORT PHENOMENA Core Course for B.Eng.(Chemical Engineering) Semester II (2008/2009)

18.02 Multivariable Calculus Fall 2007

No calculators, cell phones or any other electronic devices can be used on this exam. Clear your desk of everything excepts pens, pencils and erasers.

Solutions for the Practice Final - Math 23B, 2016

APPM 2350 Final Exam points Monday December 17, 7:30am 10am, 2018

A Brief Revision of Vector Calculus and Maxwell s Equations

25. Chain Rule. Now, f is a function of t only. Expand by multiplication:

Math 31CH - Spring Final Exam

Final Exam Review Sheet : Comments and Selected Solutions

16.2 Line Integrals. Lukas Geyer. M273, Fall Montana State University. Lukas Geyer (MSU) 16.2 Line Integrals M273, Fall / 21

Lecture 2 : Curvilinear Coordinates

Let F be a field defined on an open region D in space, and suppose that the (work) integral A

Page Problem Score Max Score a 8 12b a b 10 14c 6 6

Final Review Worksheet

In this section, mathematical description of the motion of fluid elements moving in a flow field is

MP204 Electricity and Magnetism

MATH H53 : Final exam

M273Q Multivariable Calculus Spring 2017 Review Problems for Exam 3

Tangent Plane. Linear Approximation. The Gradient

Math 212-Lecture 8. The chain rule with one independent variable

MATH 228: Calculus III (FALL 2016) Sample Problems for FINAL EXAM SOLUTIONS

Introduction and Vectors Lecture 1

Past Exam Problems in Integrals, Solutions

Mathematical Analysis II, 2018/19 First semester

Unit 6 Line and Surface Integrals

2.20 Fall 2018 Math Review

Without fully opening the exam, check that you have pages 1 through 12.

MATH2000 Flux integrals and Gauss divergence theorem (solutions)

Introduction to Differentials

Module 2: Governing Equations and Hypersonic Relations

Maxwell s Equations in Differential Form, and Uniform Plane Waves in Free Space

Multivariable Calculus and Matrix Algebra-Summer 2017

Here are some solutions to the sample problems assigned for Chapter 4. Solution: Consider a function of 3 (independent) variables. treating as real.

Transcription:

LABORATORY MODULE EKT 241/4 ELECTROMAGNETIC THEORY Semester 2 (2009/2010) EXPERIMENT # 2 Vector Analysis: Gradient And Divergence Of A Scalar And Vector Field NAME MATRIK # signature DATE PROGRAMME GROUP School of Computer & Communication Engineering University of Malaysia Perlis - 1 -

EXPERIMENT 2 Vector Analysis: Gradient And Divergence Of A Scalar And Vector Field 1. OBJECTIVE: 1.1 To provide you with an introduction to solve the problem manually and applying divergence in SCILAB simulation. In this experiment you will generate 2D space varying, gradient of a scalar field and divergence of a vector field. 2. LECTURE REVIEW We first consider the posit ion vector, r : r = x a + y a + z a x y z where a, a, and a are rectangular unit vectors. Since the unit vectors for x y z rectangular coordinate are constants, the differential distances d x, d y and d z are the components of the differential distance vector d r: dr = dx a + dy a + dz a. x y z The operator, del: is defined to be (in rectangular coordinates) as: This operator operates as a vector. = / x a + / y a + / z a, x y z - 2 -

2.1 Gradient: If the del operator, operates on a scalar function, f(x,y,z), we get the gradient : f= ( f/ x) a + ( f/ y) a + ( f/ z) a x y z Gradient is a vector with the magnitude and direction of t he maximum change of the function in space. We can relate the gradient to t he differential change in the function: df = ( f/ x) d x + ( f/ y) d y + ( f/ z) d z = f dr 2.2 Divergence: The divergence of a vector is defined to be: A= [ / x a + / y a + / z a ] [A a + A a + A a ] x y z x x y y z z A= ( A / x) + ( A / y) + ( A / z) x y z Gauss theorem or divergence theorem states that t he total outward flux of a vector field A the closed surface S is the same as the volume integral of the divergence of A: c l o se d su r f ac e A ds = AdV where the vector S is the surface area vector and Ais called divergence of A(div A). - 3 -

3. EXAMPLE 3.1 Gradient of a Scalar Field Using SCILAB simulation to plot a 3-D space varying and gradient of a scalar field for S=x 2 +3(x+y-1) 2 +(x+1) 2 for -2 < x < 2 and -2 < y < 2 3.2 Divergence of a Vector Field Using SCILAB simulation to plot a 2-D vector and divergence of a vector field for P= cos xy a - cos y a x y for -2 < x < 2 and -2< y < 2-4 -

4. SOLUTION FOR EXAMPLE 4.1 Gradient of a Scalar Field % Gradient of scalar field x=-2:0.2:2; y=-2:0.2:2; [xx,yy]=meshgrid (x,y); //For 3-D space varying S1=xx.^2; S2= 3*(xx+yy-1).^2; S3= (xx+1).^2; S=S1+S2-S3; surf(x,y,s, facecolor, interp )//3D surface plot xlabel('x');ylabel('y');zlabel('s'); title( 3-D space varying scalar field'); // For gradient, first of all, calculate the gradient for the above equation G1=((2*xx)+(6*(xx+yy-1))+(2*(xx+1)));//Enter the equation of the calculated gradient G2=6*(xx+yy-1); scf; champ(x,y,g1,g2,rect=[-0.5,-0.5,2,2]) xlabel('x'); ylabel('y'); title('gradient of the Scalar Field'); Figure 2.1 3-D space varying of scalar field - 5 -

Figure 2.2 Gradient of the scalar field 4.2 Divergence of a Vector Field % Divergence of a vector field x=-2:0.2:2; y=-2:0.2:2; [xx,yy]=meshgrid (x,y); m=size(xx); Px=cos(xx.*yy); Py=cos(yy.^2); P=Px-Py; scf; champ(x,y,px,py,rect=[-0.5,-0.5,2,2]) xlabel('x'); ylabel('y'); title('2-d vector field'); //For divergence, first of all, calculate the divergence for the above equation D1=(-yy.*(sin(xx.*yy)));//Enter the equation of the calculated divergence D2=sin(yy); scf; D=D1+D2; plot3d(x,y,d)//3d plot of a surface xlabel('x'); ylabel('y'); - 6 - zlabel('d'); title('divergence of vector field');

Figure 2.3 2-D vector field Figure 2.4 Divergence of vector field - 7 -

5. EXERCISE 5.1 Plot a 3-D space varying and gradient of a scalar field using SCILAB for: 5.1.1 A=cos (xy) + 2x + sin (xy) for 0 < x < 3.5 and 0 <y < 3.5 SCILAB result and source code: - 8 -

5.2 Plot a 2-D vector and divergence of a vector field using SCILAB for: 5.2.1 B= e -2 y (sin 2 x a - cos 2 x a ) for -2 < x < 2 and -2 < y < 2 SCILAB result and source code: x y - 9 -

5.3 Find the gradient of a scalar field 2 5.3.2 U= ρ z cos 2ø Calculation: 5.3.3 S = x 2 y + xyz Calculation: - 10 -

5.4 Find the divergence f these vector fields. 5.4.1 Q= x 2 yz a + xz a x z Calculation : 2 5.4.2 P = ρ sin ø aρ + ρ z aø + z cos ø az Calculation : - 11 -

6. DISCUSSION 7. CONCLUSION - 12 -