Reading Assignment. Problem Description for Homework #9. Read Chapters 29 and 30.

Similar documents
1D2G - Numerical solution of the neutron diffusion equation

DonnishJournals

Dymore User s Manual Two- and three dimensional dynamic inflow models

PHYS 1444 Section 501 Lecture #7

Absorption Rate into a Small Sphere for a Diffusing Particle Confined in a Large Sphere

ASTR415: Problem Set #6

Part V: Closed-form solutions to Loop Closure Equations

Review: Electrostatics and Magnetostatics

PES 3950/PHYS 6950: Homework Assignment 6

Implementation of RCWA

School of Electrical and Computer Engineering, Cornell University. ECE 303: Electromagnetic Fields and Waves. Fall 2007

EM Boundary Value Problems

Do not turn over until you are told to do so by the Invigilator.

ScienceDirect. The modelling of the electric field generated by the electrical transport lines

School of Electrical and Computer Engineering, Cornell University. ECE 303: Electromagnetic Fields and Waves. Fall 2007

3.6 Applied Optimization

Motion in One Dimension

MAGNETIC FIELD AROUND TWO SEPARATED MAGNETIZING COILS

Physics 11 Chapter 3: Vectors and Motion in Two Dimensions. Problem Solving

Numerical Integration

EM-2. 1 Coulomb s law, electric field, potential field, superposition q. Electric field of a point charge (1)

17.1 Electric Potential Energy. Equipotential Lines. PE = energy associated with an arrangement of objects that exert forces on each other

working pages for Paul Richards class notes; do not copy or circulate without permission from PGR 2004/11/3 10:50

To Feel a Force Chapter 7 Static equilibrium - torque and friction

you of a spring. The potential energy for a spring is given by the parabola U( x)

Voltage ( = Electric Potential )

Δt The textbook chooses to say that the average velocity is

MODULE 5a and 5b (Stewart, Sections 12.2, 12.3) INTRO: In MATH 1114 vectors were written either as rows (a1, a2,..., an) or as columns a 1 a. ...

Physics 2B Chapter 22 Notes - Magnetic Field Spring 2018

2. Electrostatics. Dr. Rakhesh Singh Kshetrimayum 8/11/ Electromagnetic Field Theory by R. S. Kshetrimayum

Magnetic Field. Conference 6. Physics 102 General Physics II

Fields and Waves I Spring 2005 Homework 8. Due: 3 May 2005

Electromagnetic scattering. Graduate Course Electrical Engineering (Communications) 1 st Semester, Sharif University of Technology

Physics 107 TUTORIAL ASSIGNMENT #8

Physics 2A Chapter 10 - Moment of Inertia Fall 2018

An Exact Solution of Navier Stokes Equation

( ) [ ] [ ] [ ] δf φ = F φ+δφ F. xdx.

Phys102 Second Major-182 Zero Version Monday, March 25, 2019 Page: 1

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Physics Department Physics 8.07: Electromagnetism II September 15, 2012 Prof. Alan Guth PROBLEM SET 2

CALCULUS II Vectors. Paul Dawkins

Electrostatics (Electric Charges and Field) #2 2010

EELE 3331 Electromagnetic I Chapter 4. Electrostatic fields. Islamic University of Gaza Electrical Engineering Department Dr.

Algebra-based Physics II

$ i. !((( dv vol. Physics 8.02 Quiz One Equations Fall q 1 q 2 r 2 C = 2 C! V 2 = Q 2 2C F = 4!" or. r ˆ = points from source q to observer

4/18/2005. Statistical Learning Theory

Physics 11 Chapter 20: Electric Fields and Forces

Mathematical Model of Magnetometric Resistivity. Sounding for a Conductive Host. with a Bulge Overburden

TUTORIAL 9. Static magnetic field

Phys 1215, First Test. September 20, minutes Name:

INTRODUCTION. 2. Vectors in Physics 1

PHYS 1444 Lecture #5

Appendix B The Relativistic Transformation of Forces

30 The Electric Field Due to a Continuous Distribution of Charge on a Line

DOING PHYSICS WITH MATLAB COMPUTATIONAL OPTICS

Section 8.2 Polar Coordinates

% ionic character = {1 exp 0.25 X 2

Physics 505 Homework No. 9 Solutions S9-1

Quantum Fourier Transform

Physics 2212 GH Quiz #2 Solutions Spring 2016

(a) Unde zeo-bias conditions, thee ae no lled states on one side of the junction which ae at the same enegy as the empty allowed states on the othe si

18.06 Problem Set 4 Solution

PY208 Matter & Interactions Final Exam S2005

HW Solutions # MIT - Prof. Please study example 12.5 "from the earth to the moon". 2GmA v esc

Review Notes on Maxwell's Equations

University Physics (PHY 2326)

Math 2263 Solutions for Spring 2003 Final Exam

Phys 201A. Homework 5 Solutions

15 B1 1. Figure 1. At what speed would the car have to travel for resonant oscillations to occur? Comment on your answer.

Goodness-of-fit for composite hypotheses.

Qualifying Examination Electricity and Magnetism Solutions January 12, 2006

Problem Set 10 Solutions

Gauss s Law Simulation Activities

Conservative Averaging Method and its Application for One Heat Conduction Problem

Particle Systems. University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell

TheWaveandHelmholtzEquations

Chapter 3 Optical Systems with Annular Pupils

Fields and Waves I Spring 2005 Homework 4. Due 8 March 2005

4. Electrodynamic fields

Why Professor Richard Feynman was upset solving the Laplace equation for spherical waves? Anzor A. Khelashvili a)

Math 1105: Calculus I (Math/Sci majors) MWF 11am / 12pm, Campion 235 Written homework 3

EFFECTS OF FRINGING FIELDS ON SINGLE PARTICLE DYNAMICS. M. Bassetti and C. Biscari INFN-LNF, CP 13, Frascati (RM), Italy

PROBLEM SET #1 SOLUTIONS by Robert A. DiStasio Jr.

Chapter 9 Dynamic stability analysis III Lateral motion (Lectures 33 and 34)

Lecture 2 Date:

is the instantaneous position vector of any grid point or fluid

Electromagnetism Physics 15b

Flux. Area Vector. Flux of Electric Field. Gauss s Law

General Solution of EM Wave Propagation in Anisotropic Media

EE 5337 Computational Electromagnetics

J. Electrical Systems 1-3 (2005): Regular paper

6.641 Electromagnetic Fields, Forces, and Motion Spring 2005

MATH 415, WEEK 3: Parameter-Dependence and Bifurcations

, the tangent line is an approximation of the curve (and easier to deal with than the curve).

Chapter 5 Linear Equations: Basic Theory and Practice

Analytical evaluation of 3D BEM integral representations using complex analysis

THE INFLUENCE OF THE MAGNETIC NON-LINEARITY ON THE MAGNETOSTATIC SHIELDS DESIGN

Chapter 5 Force and Motion

Chapter 5 Force and Motion

PHYS 301 HOMEWORK #10 (Optional HW)

Lab 10: Newton s Second Law in Rotation

Transcription:

Reading Assignment Read Chaptes 29 and 30. Poblem Desciption fo Homewok #9 In this homewok, you will solve the inhomogeneous Laplace s equation to calculate the electic scala potential that exists between two lage paallel plates (i.e. a capacito) filled with an unconventional dielectic. A diagam of the poblem is povided below. Using two voltage souces, the bottom plate is held at 1.5 V and the top plate is held at 6 V above the bottom plate. The plates ae sepaated along the z-axis by a distance of 2.0 cm (i.e. z1 = 0 cm and z2 = 2.0 cm). The dielectic between the plates is inhomogeneous and has a elative pemittivity foming a tiangula pofile as quantified in the figue above. This homewok will step you though the thee majo phases fo solving this type of poblem numeically. Fist is the fomulation step whee all the necessay equations ae deived fo solving the poblem. Second is the numeical implementation step whee the equations deived in the fist step ae solved numeically. In this homewok, the finite-diffeence method will be implemented in MATLAB to solve the final diffeential equation. Last is the visualization step whee the esults of the poblem ae visualized in a pofessional manne so that meaningful conclusions can be made about the poblem. Page 1 of 9

Poblem #1: Fomulation Fo poblem #1, you will deive all the necessay equations needed to implement the solution in MATLAB. All of this should be done by hand o in a wod pocesso. MATLAB should not be used at all fo Poblem #1. Ceate a pofessional quality document that looks like you ae explaining and fomulating this poblem on you own. Do not copy/paste anything fom this homewok into you document. Ceate eveything on you own. Pat 1 Deive Diffeential Equation Electostatic poblems have the following govening equations wee D is the electic flux density (C/m 2 ), E is the electic field intensity (V/m), V is the electic scala potential (volts V), is the pemittivity of fee space (F/m), is the elative pemittivity, is the vecto del opeato, and is position. D 0 Gauss Law. (1) E D Constitutive Relation (2) E 0 V Electic Potential (3) The diffeential equation fo this poblem is deived by fist substituting Eq. (3) into Eq. (2) to eliminate E, and then substituting this new expession into Eq. (1) to eliminate D. The final vecto diffeential equation is 0 V Povide Eqs. (1)-(3) in you document. Then pefom all of the steps to deive Eq. (4). Pat 2 Reduce to One-Dimension We wish to educe this to a one-dimensional poblem. This is valid as long as we ae only inteested in finding the electic potential fa away fom the edges of the capacito. To do this mathematically, we assume the functions V ae only a function of z. Unde this assumption, Eq. (4) educes to z and 2 d V z d z dv z 0 2 (5) dz dz dz Add explanation and fill in the steps to deive Eq. (5) fom Eq. (4). (4) Page 2 of 9

Pat 3 Deive Matix Equation To solve Eq. (5) using the finite-diffeence method, z and V z ae known only at discete points along a one-dimensional gid epesenting the z-axis. The matix equation deived fom Eq. (5) has the following fom. 2 D vd v 0 (6) z z Fill in the steps to deive Eq. (6) fom Eq. (5). You should not have to explicitly handle any finite-diffeences. This step should be almost effotless, but add explanations and attempt to visualize the step as best as possible. Pat 4 [A][x]=[0] Fom Equation (6) has the geneal fom [A][x]=[0], whee Av 0 (7) A D 2 D (8) z z Fill in the steps to deive this esult fom Eq. (6). Visualize all of the matices and column vectos in Eq. (8). Fo example, [Dz] might be visualized as D z Pat 5 Apply Bounday Conditions 0 1 1 0 1 1 0 1 1 1 0 1 2z 1 0 1 1 0 1 Equation (7) is not yet solvable because v A 0 0 is a tivial solution. It must be put into the fom [A][x]=[b] by applying the bounday conditions. 1 0 0 0 V1 2 V z1 1.5 V a21 a22 a2, N 1 a 2N V 2 0 an 1,1 an 1,2 an 1,N 1 an 1,N VN 1 0 0 0 0 1 V N 6 V z2 7.5 V A Fill in the steps to deive this esult fom Eqs. (7)-(8). Descibe the opeations that must be pefomed in ode to incopoate the bounday conditions. Visualize and explain this step as best as possible. v b (9) (10) Page 3 of 9

Pat 6 Solve fo [v] Complete you fomulation by stating that the potential function v is calculated fom Eq. (10) as follows. Poblem #2: Implementation 1 v A b (11) In Poblem #2, you will implement the finite-diffeence method that you fomulated in Poblem #1. You implementation should have vey clean MATLAB code that is welloganized and well-c0mmented. At the end, geneate a cude plot of the electic potential V(z) obtained fom you pogam. Do not woy about quality gaphics yet. That will be addessed in Poblem #3. You pogam should follow the steps below. Pat 1 Pogam Heade and Dashboad Stat you MATLAB pogam with the following heade: % HW9_Pob2.m % % Homewok #9, Poblems #2 and #3 % Computational Methods in EE % Univesity of Texas at El Paso % Instucto: D. Raymond C. Rumpf % INITIALIZE MATLAB close all; clc; clea all; % UNITS centimetes = 0.01; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% DASHBOARD %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % BOUNDARY CONDITIONS z1 = 0 * centimetes; Va = 1.5; z2 = 2 * centimetes; Vb = 1.5 + 6; % NUMBER OF GRID POINTS Nz = 100; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% PERFFORM FINITE-DIFFERENCE METHOD %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Pat 2 Calculate Gid Calculate z and calculate a one-dimensional aay of points z descibing the position of each of the points in the inteval z1 z z2. Page 4 of 9

Pat 3 Constuct (z) Constuct an aay ER along z that epesents the pemittivity pofile (z) shown in the figue of the capacito. Pat 4 Calculate Numeical Deivative of (z) Use numeical diffeentiation to calculate the deivative of ER at EVERY point in the one-dimensional gid. Use the following finite-diffeence appoximation to do so. df1 25 f 48 f 36 f 16 f 3 f dz 12z 1 2 3 4 5 df2 3 f 10 f 18 f 6 f f dz 12z 1 2 3 4 5 df f 8f 8f f dz 12z i i2 i1 i1 i2 df f 6 f 18 f 10 f 3 f dz 12z N 1 N 4 N 3 N 2 N 1 N df 3 f 16 f 36 f 48 f 25 f dz 12z N N 4 N 3 N 2 N 1 N DO NOT use deivative matices to do this. Instead, calculate the deivatives like you did in Homewok #7 fo numeical diffeentiation. Pat 5 Constuct Point-by-Point Multiplication Matices Constuct two diagonal matices ER and ERD fom the functions espectively. Pat 6 Constuct Deivative Opeatos z and d z dz Constuct the two deivative matices DZ and DZ2 by calling the fdde1d() function that you wote in Homewok #8. Pat 7 Build [A] Build the matix A you fomulated in Eq. (8). Pat 8 Initialize [b] Initialize a column vecto b to contain all zeos. Pat 9 Apply Bounday Condition at z = z 1 Modify the matix A and the column vecto b consistent with Eq. (10) to incopoate the bounday condition at z = z1. Pat 10 Apply Bounday Condition at z = z 2 Modify the matix A and the column vecto b consistent with Eq. (10) to incopoate the bounday condition at z = z2. (12) (13) (14) (15) (16) Page 5 of 9

Pat 11 Calculate the Potential [v] Calculate the electic scala potential function v by solving Eq. (11). Pat 12 Plot V(z) in the Inteval z 1 z z 2 Plot the scala electic potential with plot(z,v). Use the default MATLAB gaphics fo this. You will make it look pofessional in the next poblem. You plot should look like what is shown below. Page 6 of 9

Poblem #3: Visualization In this poblem, you will geneate pofessional quality gaphics to visualize you poblem and its solution. You figue will contain fou subplots placed hoizontally next to each othe: (1) the device, (2) the pemittivity function (z), (3) the deivative of the pemittivity function, and (4) the electic scala potential V(z). In the end, you figue and esults should look something like the following: Pat 1 Open a New Figue Window Open a new figue window that has a white backgound. Size the window such that the y-axis of all the plots line up and match the device. Pat 2 Open a Subplot to Show the Device Select the fist subplot using the subplot() function in MATLAB. Pat 3 Define the RGB Values fo Coppe A list of many options fo RGB values fo coppe can be found hee: http://simple.wikipedia.og/wiki/coppe_%28colo%29 The values used in the solution fo this homewok wee: c = [0.72 0.45 0.20]; Feel fee to pick you favoite! Pat 4 Daw the Bottom Plate Use the fill() command to daw a ectangle fo the bottom plate. Conside using the following limits fo you ectangle. Use the coppe colo defined in Pat 3. x z x z 1 1 2 2 z z y z y z 20 2 1 1 1 2 1 Page 7 of 9

Pat 5 Daw the Top Plate Use the fill() command to daw a ectangle fo the top plate. Conside using the following limits fo you ectangle. Use the coppe colo defined in Pat 3. Pat 6 Daw the Dielectic x z x z 1 1 2 2 z z y1 z2 y2 z2 20 2 1 Use a loop to daw the dielectic egion one slice (thin ectangle) at a time along the z- axis. Use the fill() command to visualize each dielectic slice with a geen colo. Do not use an edge line fo the ectangles. Scale its shade of geen to convey the magnitude of the elative pemittivity (z), whee the dake shade coesponds to highe pemittivity. Conside calculating an auxiliay function fo colo scale pehaps accoding to f z then calculate the colo fo a slice accoding to z z z z min 0.10.9, max min c = (1-f(nz))*[1 1 1] + f(nz)*[0 0.6 0]; Pat 7 Set the Gaphics View fo the Fist Subplot Set a pofessional view fo the device gaphic by tuning off the axes, giving the subplot the title DEVICE, and pehaps othe options of you choosing. Pat 8 Calculate the Vetical Tick Positions and Labels fo the Remaining Plots You tick maks should go fom 0 to 2.0 in steps of 0.2. You labels should all have the same numbe of digits, except fo zeo which should only have one. Pat 9 Plot the Relative Pemittivity Function (z) In the fist subplot fom the ight of the device, plot the elative pemittivity function (z) using a dak geen line. The units fo the vetical axis should be centimetes. Be sue linewidths ae sufficient, but not ovebeaing. Label the x-axis with (z) and label the y-axis with z (cm). Set the y-axis limits so that the position of the function coesponds to the position of the devices to its left. Give the subplot the title PERMITTIVITY. Dess up anything else in the plot that does not look pofessional and eady fo publication. Page 8 of 9

Pat 10 Plot the Deivative of the Relative Pemittivity Function d (z)/dz In the second subplot fom the ight of the device, plot the deivative of the elative pemittivity function using a blue line. The units fo the vetical axis should be centimetes. Be sue linewidths ae sufficient, but not ovebeaing. Label the x-axis with d(z)/dz and label the y-axis with z (cm). Set the y-axis limits so that the position of the function coesponds to the position of the devices to its left. Give the subplot the title DERIVATIVE. Dess up anything else in the plot that does not look pofessional and eady fo publication. Pat 11 Plot the Electic Scala Potential V(z) In the last subplot on the ight, plot the electic scala potential function V(z) using a ed line. The units fo the vetical axis should be centimetes. Be sue linewidths ae sufficient, but not ovebeaing. Label the x-axis with V(z) and label the y-axis with z (cm). Set the y-axis limits so that the position of the function coesponds to the position of the devices to its left. Give the subplot the title POTENTIAL. Dess up anything else in the plot that does not look pofessional and eady fo publication. Page 9 of 9