PH2130 Mathematical Methods Lab 3. z x

Similar documents
Math 2142 Exam 1 Review Problems. x 2 + f (0) 3! for the 3rd Taylor polynomial at x = 0. To calculate the various quantities:

4.2 Continuous-Time Systems and Processes Problem Definition Let the state variable representation of a linear system be

Section 3.5 Nonhomogeneous Equations; Method of Undetermined Coefficients

Scalar Conservation Laws

Derivatives of Inverse Trig Functions

Week 1 Lecture 2 Problems 2, 5. What if something oscillates with no obvious spring? What is ω? (problem set problem)

A Mathematical model to Solve Reaction Diffusion Equation using Differential Transformation Method

Chapter 2. First Order Scalar Equations

MATH 31B: MIDTERM 2 REVIEW. x 2 e x2 2x dx = 1. ue u du 2. x 2 e x2 e x2] + C 2. dx = x ln(x) 2 2. ln x dx = x ln x x + C. 2, or dx = 2u du.

Srednicki Chapter 20

Some Basic Information about M-S-D Systems

Be able to sketch a function defined parametrically. (by hand and by calculator)

23.2. Representing Periodic Functions by Fourier Series. Introduction. Prerequisites. Learning Outcomes

first-order circuit Complete response can be regarded as the superposition of zero-input response and zero-state response.

Computers and Mathematics with Applications

AP Calculus BC Chapter 10 Part 1 AP Exam Problems

10. State Space Methods

Section 4.4 Logarithmic Properties

Two Coupled Oscillators / Normal Modes

Motion along a Straight Line

ln 2 1 ln y x c y C x

EECE 301 Signals & Systems Prof. Mark Fowler

Matlab and Python programming: how to get started

, u denotes uxt (,) and u. mean first partial derivatives of u with respect to x and t, respectively. Equation (1.1) can be simply written as

1 First Order Partial Differential Equations

Section 4.4 Logarithmic Properties

EECE 301 Signals & Systems Prof. Mark Fowler

1 1 + x 2 dx. tan 1 (2) = ] ] x 3. Solution: Recall that the given integral is improper because. x 3. 1 x 3. dx = lim dx.

a. Show that these lines intersect by finding the point of intersection. b. Find an equation for the plane containing these lines.

t is a basis for the solution space to this system, then the matrix having these solutions as columns, t x 1 t, x 2 t,... x n t x 2 t...

Phys1112: DC and RC circuits

Basic Circuit Elements Professor J R Lucas November 2001

SMT 2014 Calculus Test Solutions February 15, 2014 = 3 5 = 15.

Finish reading Chapter 2 of Spivak, rereading earlier sections as necessary. handout and fill in some missing details!

Y 0.4Y 0.45Y Y to a proper ARMA specification.

Solutions to Assignment 1

Final Spring 2007

Dispersive Systems. 1) Schrödinger equation 2) Cubic Schrödinger 3) KdV 4) Discreterised hyperbolic equation 5) Discrete systems.

System of Linear Differential Equations

Math Wednesday March 3, , 4.3: First order systems of Differential Equations Why you should expect existence and uniqueness for the IVP

Elementary Differential Equations and Boundary Value Problems

( ) a system of differential equations with continuous parametrization ( T = R + These look like, respectively:

Module 2 F c i k c s la l w a s o s f dif di fusi s o i n

Challenge Problems. DIS 203 and 210. March 6, (e 2) k. k(k + 2). k=1. f(x) = k(k + 2) = 1 x k

Mat 267 Engineering Calculus III Updated on 04/30/ x 4y 4z 8x 16y / 4 0. x y z x y. 4x 4y 4z 24x 16y 8z.

6.2 Transforms of Derivatives and Integrals.

-e x ( 0!x+1! ) -e x 0!x 2 +1!x+2! e t dt, the following expressions hold. t

EE100 Lab 3 Experiment Guide: RC Circuits

Oscillation of an Euler Cauchy Dynamic Equation S. Huff, G. Olumolode, N. Pennington, and A. Peterson

Applicable Mathematics 2A

Traveling Waves. Chapter Introduction

HYPOTHESIS TESTING. four steps. 1. State the hypothesis. 2. Set the criterion for rejecting. 3. Compute the test statistics. 4. Interpret the results.

Chapter #1 EEE8013 EEE3001. Linear Controller Design and State Space Analysis

Laplace Transforms. Examples. Is this equation differential? y 2 2y + 1 = 0, y 2 2y + 1 = 0, (y ) 2 2y + 1 = cos x,

HYPOTHESIS TESTING. four steps. 1. State the hypothesis and the criterion. 2. Compute the test statistic. 3. Compute the p-value. 4.

DESIGN OF TENSION MEMBERS

dt = C exp (3 ln t 4 ). t 4 W = C exp ( ln(4 t) 3) = C(4 t) 3.

Chapter 6. Systems of First Order Linear Differential Equations

3.6 Derivatives as Rates of Change

LAPLACE TRANSFORM AND TRANSFER FUNCTION

Predator - Prey Model Trajectories and the nonlinear conservation law

CHAPTER 12 DIRECT CURRENT CIRCUITS

Lecture 2-1 Kinematics in One Dimension Displacement, Velocity and Acceleration Everything in the world is moving. Nothing stays still.

= ( ) ) or a system of differential equations with continuous parametrization (T = R

Let us start with a two dimensional case. We consider a vector ( x,

Differential Equations

In this chapter the model of free motion under gravity is extended to objects projected at an angle. When you have completed it, you should

MA 214 Calculus IV (Spring 2016) Section 2. Homework Assignment 1 Solutions

LAB # 2 - Equilibrium (static)

Math 334 Test 1 KEY Spring 2010 Section: 001. Instructor: Scott Glasgow Dates: May 10 and 11.

Math 333 Problem Set #2 Solution 14 February 2003

Chapter 15: Phenomena. Chapter 15 Chemical Kinetics. Reaction Rates. Reaction Rates R P. Reaction Rates. Rate Laws

ENGI 9420 Engineering Analysis Assignment 2 Solutions

MA 366 Review - Test # 1

Chapters 6 & 7: Trigonometric Functions of Angles and Real Numbers. Divide both Sides by 180

ME 391 Mechanical Engineering Analysis

Homework sheet Exercises done during the lecture of March 12, 2014

DIFFERENTIAL GEOMETRY HW 5

Chapter 7: Solving Trig Equations

Morning Time: 1 hour 30 minutes Additional materials (enclosed):

Chapter Q1. We need to understand Classical wave first. 3/28/2004 H133 Spring

3.1.3 INTRODUCTION TO DYNAMIC OPTIMIZATION: DISCRETE TIME PROBLEMS. A. The Hamiltonian and First-Order Conditions in a Finite Time Horizon

Key Chemistry 102 Discussion #4, Chapter 11 and 12 Student name TA name Section. ; u= M. and T(red)=2*T(yellow) ; t(yellow)=4*t(red) or

The fundamental mass balance equation is ( 1 ) where: I = inputs P = production O = outputs L = losses A = accumulation

The average rate of change between two points on a function is d t

8. Basic RL and RC Circuits

Hamilton- J acobi Equation: Explicit Formulas In this lecture we try to apply the method of characteristics to the Hamilton-Jacobi equation: u t

15. Vector Valued Functions

Check in: 1 If m = 2(x + 1) and n = find y when. b y = 2m n 2

23.5. Half-Range Series. Introduction. Prerequisites. Learning Outcomes

Math Final Exam Solutions

Wall. x(t) f(t) x(t = 0) = x 0, t=0. which describes the motion of the mass in absence of any external forcing.

Sections 2.2 & 2.3 Limit of a Function and Limit Laws

FITTING EQUATIONS TO DATA

Constant Acceleration

CHAPTER 2 Signals And Spectra

A Direct Method for Solving Nonlinear PDEs and. New Exact Solutions for Some Examples

Asymptotic Solution of the Anti-Plane Problem for a Two-Dimensional Lattice

STA 114: Statistics. Notes 2. Statistical Models and the Likelihood Function

CSE 5365 Computer Graphics. Take Home Test #1

Transcription:

PH130 Mahemaical Mehods Lab 3 This scrip shold keep yo bsy for he ne wo weeks. Yo shold aim o creae a idy and well-srcred Mahemaica Noebook. Do inclde plenifl annoaions o show ha yo know wha yo are doing, where yo have eperimened, and wha yo have learned. Yo shold hen find yor noebooks sefl o yo laer on when yo are working on oher problems. A. Parial differeniaion In he firs par of his eercise yo will gain pracice in sing Mahemaica for he evalaion of parial derivaives. Mos of he eercises will be aken from problem shees yo worked on las year. Yo shold recall how yo evalaed he derivaives and he edios calclaion someimes reqired. Here yo will see how easy i is o ge Mahemaica o do he donkey work for yo. B do appreciae ha Mahemaica can be no sbsie for knowing how o do he calclaion. z 1. Given ha f1, y, 6= ye + cosz yz, find 3 3 f f f f f,,,, y yz yz. Yo shold invesigae some of he feares of Mahemaica s D[..] fncion, sing he Help faciliy, o find an easy way of performing mliple differeniaion.. For (i) f1, y6= y lny and (ii) f1, y6= siny+ y, find f and f y and f. Recall ha f is a compac noaion indicaing parial differeniaion wih respec o. 3. If f y ye / 1, 6= y, find he slopes f and f y when = 0, y = 0. Here yo shold be aware of Mahemaica s sbsiion syna /. 4. Find he slopes in he and y- direcions (i.e. f and f y ) of each of he following (k is a consan): y 3 k 3 y y k y 1 y y ye +,, sin, cos, + 7ln, ln,, y y y y e, k y e, ln ky, yln k y, ln k y, sinh + 7 1 + 6 1 6 1 6 7. Remember ha Mahemaica ses he syna Log[ ] o denoe he naral logarihm. 5. For he above epressions, evalae 3 3 f f f f,,,. y yz yz Yo will find i convenien o se he Windows c and pase faciliies o do his speedily and painlessly. = 3 4 saisfies he parial differenial eqaion 6. Show ha f r, θ r sin θ f + 3 r f θθ rr rf + r f = 0. PH130 Mahemaical Mehods Lab 3 1

n n 7. Show ha V = r cosnθ and V = r 1 cosnθ boh saisfy Laplace s eqaion in polar coordinaes in wo dimensions: 1 V r V 1 r V rr + r + = 0 θθ. 8. If y 1, 6= ln + y, show ha y 1, 6 saisfies Laplace s eqaion in Caresian coordinaes in wo dimensions: + =0. 9. Show ha Ψ= Asin ω + k eqaion yy + and Ψ= k + ω e k ω 0 5 each saisfies he wave Ψ ω Ψ =. k Yo shold be able o idenify he speed of propagaion of he waves; if no, have a look a yor lecre noes. 10. Show ha U = Asin k+ Bcosk e k D saisfies he diffsion eqaion U 1 U =. D Plo his for siably chosen A and B. i p E 0 5/ = 11. Show ha Ψ, = Ae saisfies Schrödinger s eqaion for a free paricle = Ψ Ψ = i= m if E = p / m. Wha does p represen in he epression for Ψ? y 1. If = +, where =, y = 1/, z =, find / in erms of. y z This is a nice eample of he idy se of Mahemaica. 13. If = e cos v and y = e sin v, show ha / v = y and y/ v =. Find. 14. Show ha / y yields he same resl as / y when operaing on fncions of and y. Yo shold inven some on fncions of and y o ry his o on. The independence of he order of differeniaion is an imporan resl which yo will make se of in Thermodynamics. PH130 Mahemaical Mehods Lab 3

B. Defining yor own fncions In he second par of he eercise yo will learn how o define yor own fncions in Mahemaica. This will hen be eended, in he ne secion, o he definiion of he Laplacian operaor and he invesigain of some solions of Laplace's eqaions. The Mahemaica syna for defining a fncion is demonsraed in his simple eample sqare[_] := ^ which will sqare whaever argmen yo give i. Ths yping sqare[]will rern 4, while sqare[a+b]will rern a +ab + b. In his eample sqare is he name yo have chosen for yor fncion. Remember i is preferable no o sar he fncion name wih a capial leer o avoid any poenial conflic wih Mahemaica s bil-in fncions yo migh no be aware of. As epeced, he argmen of he fncion is conained in sqare brackes. However noe ha he argmen is wrien wih an nderscore: _. This indicaes ha he here is a dmmy variable; he fncion will operae on any argmen yo give i, no js on. On he righ hand side, however, in he fncion definiion, yo js se. Finally, noe ha he eqaliy symbol sed here is he Pascal/Algol assignmen :=. This ells Mahemaica o evalae he righ hand side each ime on demand raher han once and for all. Oherwise he same answer wold be rerned every ime he fncion was called, regardless of he new argmen. (Don worry if yo don ndersand his; js be sre o se := when defining a fncion ) Try a few eamples of defining yor own fncions. A fncion can ake more han one argmen; he syna is a naral eension: dis[_, y_] := Sqr[^ + y^] Wha cold his be sed for? Define yor own fncion o give he roos of a qadraic eqaion from is hree coefficiens. Some forehogh and planning will pay dividends here. PH130 Mahemaical Mehods Lab 3 3

C. The laplacian operaor Yo shold recall from he lecres ha he laplacian operaor is given, in recanglar caresian coordinaes, by = + + y z. Laplace s eqaion for Ψ is wrien simply as Ψ = 0. Yo can define yor own laplacian operaor in Mahemaica by: laplacianyz[f_] := D[f,{,}] + D[f,{y,}] + D[f,{z,}] The name laplacianyz has been chosen o indicae ha i epecs he caresian coordinaes, y, and z o operae on. Be sre yo are happy wih his definiion. Using yor own defined laplacian operaor, check wheher he following fncions obey Laplace s eqaion: 1. Ψ1y, 6= y,. Ψ1y, 6 = 3 3 y 4, 3. Ψ1y, 6 = 6 y, 4. Ψ1y, 6 = esin1y6, 5. Ψ1y, 6= sinsinhy, 6. Ψ1y, 6 = arcan 1y/ 6, 7. Ψ yz 1,, 6= / + y 1 + z. In places yo will find i sefl/necessary o se Mahemaica s Simplify commands. 7 Verify ha Ψ y, = aln + y + bsaisfies Laplace s eqaion, and deermine a and b so ha Ψ saisfies he bondary condiions Ψ=0 on he circle + y = 1, and Ψ=5 on he circle + y = 9. Think careflly before doing he second par; yo don wan o end p wih somehing messy. And be sre o eplain in yor Mahemaica noebook wha yo are doing. PH130 Mahemaical Mehods Lab 3 4

D. The d alemberian operaor The wave eqaion reas space and ime on an eqal fooing (almos). Using he laplacian operaor allows he wave eqaion + + Ψ Ψ Ψ 1 Ψ = 0 y z v o be wrien in he mch more compac form 1 Ψ Ψ = 0. v B his can be aken one sep frher, by combining he space and ime differeniaion ino a single symbol. In his way he d alemberian operaor is defined as f 1 =. v And hen he wave eqaion akes on he remarkably compac form f Ψ = 0. Define yor own d alemberian operaor in Mahemaica. Using his operaor, verify ha he following fncions obey he wave eqaion for a siable choice of v: 1. Ψ, 6= + 4,. Ψ1, 6= 3 + 3, 3. Ψ1, 6= sinvsin, 4. Ψ1, 6= cos4 sin, 5. Ψ1, 6= cosvsin, 6. Ψ1, 6= sinωvsinω. E. Diffsion Yo ms hink how o answer he ne qesions. Eplain clearly wha yo are doing. Verify ha he following fncions are solions of he diffsion eqaion for a siable vale of D: =,. Ψ16 = e, 3. Ψ16 = e 3, 1. Ψ, e cos, cos, sin 4. Ψ1, 6= e 4 cosk, 5. Ψ1, 6= e 16 cos k D, 6. Ψ1, 6= e sin k. PH130 Mahemaical Mehods Lab 3 5