THE UNIVERSITY OF NEW SOUTH WALES SCHOOL OF PHYSICS PHYS2020 COMPUTATIONAL PHYSICS FINAL EXAM SESSION Answer all questions

Similar documents
THE UNIVERSITY OF NEW SOUTH WALES SCHOOL OF PHYSICS PHYS2020 COMPUTATIONAL PHYSICS FINAL EXAM SESSION I Answer all questions

Fourth Order RK-Method

Applied Calculus. Review Problems for the Final Exam

Pure Mathematics Paper II

Entrance Exam, Differential Equations April, (Solve exactly 6 out of the 8 problems) y + 2y + y cos(x 2 y) = 0, y(0) = 2, y (0) = 4.

THE UNIVERSITY OF NEW SOUTH WALES. School of Electrical Engineering & Telecommunications FINALEXAMINATION. Session

Exam in Numerical Methods (MA2501)

Degree Master of Science in Mathematical Modelling and Scientific Computing Mathematical Methods I Thursday, 12th January 2012, 9:30 a.m.- 11:30 a.m.

Pre-Calculus: Functions and Their Properties (Solving equations algebraically and graphically, matching graphs, tables, and equations, and

FINAL EXAM MAY 20, 2004

Slide 1. Slide 2. Slide 3 Remark is a new function derived from called derivative. 2.2 The derivative as a Function

. For each initial condition y(0) = y 0, there exists a. unique solution. In fact, given any point (x, y), there is a unique curve through this point,

MA 102 Mathematics II Lecture Feb, 2015

COMMONWEALTH OF AUSTRALIA Copyright Regulations 1969

Chapter 11 ORDINARY DIFFERENTIAL EQUATIONS

Section 4.3 Vector Fields

Exam 3 MATH Calculus I

Midterm Preparation Problems

Integration - Past Edexcel Exam Questions

MTH 132 Solutions to Exam 2 Apr. 13th 2015

ab = c a If the coefficients a,b and c are real then either α and β are real or α and β are complex conjugates

MATHEMATICS EXTENSION2

Q1 Q2 Q3 Q4 Tot Letr Xtra

This practice exam is intended to help you prepare for the final exam for MTH 142 Calculus II.

GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL OF ELECTRICAL AND COMPUTER ENGINEERING

MATHEMATICS 4722 Core Mathematics 2

A-level MATHEMATICS. Paper 2. Exam Date Morning Time allowed: 2 hours SPECIMEN MATERIAL

Final Exam Aug. 29th Mathematical Foundations in Finance (FIN 500J) Summer, Sample Final Exam

Math 175 Common Exam 2A Spring 2018

dt 2 The Order of a differential equation is the order of the highest derivative that occurs in the equation. Example The differential equation

Traveling Harmonic Waves

Georgia Department of Education Common Core Georgia Performance Standards Framework CCGPS Advanced Algebra Unit 2

Name: ID.NO: Fall 97. PLEASE, BE NEAT AND SHOW ALL YOUR WORK; CIRCLE YOUR ANSWER. NO NOTES, BOOKS, CALCULATORS, TAPE PLAYERS, or COMPUTERS.

UNIVERSITY of LIMERICK OLLSCOIL LUIMNIGH

Math 225 Differential Equations Notes Chapter 1

DRAFT - Math 101 Lecture Note - Dr. Said Algarni

Final Exam A Name. 20 i C) Solve the equation by factoring. 4) x2 = x + 30 A) {-5, 6} B) {5, 6} C) {1, 30} D) {-5, -6} -9 ± i 3 14

(Received March 30, 1953)

Root Finding (and Optimisation)

1 Lecture 24: Linearization

Prelab: Complete the prelab section BEFORE class Purpose:

THE UNIVERSITY OF NEW SOUTH WALES SCHOOL OF PHYSICS FINAL EXAMINATION JUNE/JULY PHYS3080 Solid State Physics

~UTS. University of Technology, Sydney TO BE RETURNED AT THE END OF THE EXAMINATION. THIS PAPER MUST NOT BE REMOVED FROM THE EXAM CENTRE.

ENGR 213: Applied Ordinary Differential Equations

CHAPTER 7. An Introduction to Numerical Methods for. Linear and Nonlinear ODE s

1.1 GRAPHS AND LINEAR FUNCTIONS

(I understand that cheating is a serious offense)

MTH 132 Solutions to Exam 2 Nov. 23rd 2015

Calculus I Sample Exam #01

Mon 3 Nov Tuesday 4 Nov: Quiz 8 ( ) Friday 7 Nov: Exam 2!!! Today: 4.5 Wednesday: REVIEW. In class Covers

Calculus II (Math 122) Final Exam, 19 May 2012

Analysis Methods in Atmospheric and Oceanic Science

Note: Final Exam is at 10:45 on Tuesday, 5/3/11 (This is the Final Exam time reserved for our labs). From Practice Test I

2014/2015 SEMESTER 1 MID-TERM TEST. September/October :30pm to 9:30pm PLEASE READ THE FOLLOWING INSTRUCTIONS CAREFULLY:

F. KEEP YOUR BUBBLE SHEET COVERED AT ALL TIMES.

6.3 METHODS FOR ADVANCED MATHEMATICS, C3 (4753) A2

Candidates are expected to have available a calculator. Only division by (x + a) or (x a) will be required.

Math 310 Introduction to Ordinary Differential Equations Final Examination August 9, Instructor: John Stockie

Numerical Methods for Engineers

THE UNIVERSITY OF NEW SOUTH WALES. SCHOOL OF PHYSICS FINAL EXAMI NATIO N june, 2010

MATHEMATICS 4725 Further Pure Mathematics 1

MTH4101 CALCULUS II REVISION NOTES. 1. COMPLEX NUMBERS (Thomas Appendix 7 + lecture notes) ax 2 + bx + c = 0. x = b ± b 2 4ac 2a. i = 1.

Final Exam C Name i D) 2. Solve the equation by factoring. 4) x2 = x + 72 A) {1, 72} B) {-8, 9} C) {-8, -9} D) {8, 9} 9 ± i

Wednesday 3 June 2015 Morning

Mathematics (JUN11MFP101) General Certificate of Education Advanced Subsidiary Examination June Unit Further Pure TOTAL

Solutions to Math 53 Math 53 Practice Final

ASSIGNMENT BOOKLET. Numerical Analysis (MTE-10) (Valid from 1 st July, 2011 to 31 st March, 2012)

APPM 1350 Exam 2 Fall 2016

MATH 18.01, FALL PROBLEM SET # 6 SOLUTIONS

Solution of Algebric & Transcendental Equations

Mathematics Extension 2

Unit 2 Maths Methods (CAS) Exam

BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) Term-End Examination December, 2015 BCS-054 : COMPUTER ORIENTED NUMERICAL TECHNIQUES

First-Order Differential Equations

Mathematics Qualifying Exam Study Material

Honors Advanced Algebra Unit 3: Polynomial Functions November 9, 2016 Task 11: Characteristics of Polynomial Functions

Math 341 Fall 2006 Final Exam December 12th, Name:

MATH The Derivative as a Function - Section 3.2. The derivative of f is the function. f x h f x. f x lim

ODE Homework 1. Due Wed. 19 August 2009; At the beginning of the class

MATHEMATICS 4723 Core Mathematics 3

Final Exam May 4, 2016

MA 114 Worksheet # 17: Integration by trig substitution

4. All questions are NOT ofequal value. Marks available for each question are shown in the examination paper.

MATH 2053 Calculus I Review for the Final Exam

Wednesday 24 May 2017 Morning Time allowed: 1 hour 30 minutes

Structural Mechanics Column Behaviour

Chapter 8. Numerical Solution of Ordinary Differential Equations. Module No. 2. Predictor-Corrector Methods

Final Exam Advanced Mathematics for Economics and Finance

McGill University April 20, Advanced Calculus for Engineers

Core Mathematics C34

Introduction to systems of equations

Mathematics (JUN11MPC301) General Certificate of Education Advanced Level Examination June Unit Pure Core TOTAL

Questionnaire for CSET Mathematics subset 1

E2.5 Signals & Linear Systems. Tutorial Sheet 1 Introduction to Signals & Systems (Lectures 1 & 2)

QUESTIONS FOR THE TESTS-ECI 146

1.2. Direction Fields: Graphical Representation of the ODE and its Solution Let us consider a first order differential equation of the form dy

Exam in TMA4215 December 7th 2012

Review Problems for Exam 2

Analysis Methods in Atmospheric and Oceanic Science

Physics 1050 Experiment 1. Introduction to Measurement and Uncertainty

Transcription:

THE UNIVERSITY OF NEW SOUTH WALES SCHOOL OF PHYSICS PHYS2020 COMPUTATIONAL PHYSICS FINAL EXAM SESSION 1 2010 Answer all questions Time allowed = 2 hours Total number of questions = 5 Marks = 40 The questions are NOT of equal value. This paper may be retained by the candidate. Answers must be written in ink. Except where they are expressly required, pencils may only be used for drawing, sketching or graphical work. Only UNSW approved calculators may be used.

Question 1 (10 marks) a) From geometric considerations, derive an expression for the Newton-Raphson (Newton's) method for finding the roots of a non-linear equation for which you have the explicit form of the equation, y = J(x), and an initial approximation to the root of Xo. The expression should clearly show how to find the next approximation to the root, XI, in terms ofj(x) and X o. Illustrate your answer with a clear sketch (or sketches) showing how Newton's method works. Mark on your sketch the position of both X o and XI, and show how they are related., b) Briefly state the main differences between the bisection method and Newton's method for finding the roots of an equation in terms of robustness and time taken to converge. c) Using pseudocode and / or the C programming language, write a program which uses the bisection method to find the single root of the equation Xl -2x- 2 on the interval 1 $; x$;2, to a precision of±o.l. d) Use the bisection method to find the root of equation in part (c), on the given interval. The precision required is ±O.l. e) Briefly state why using a computer to generate random numbers might not produce the results expected if many trials for an experiment are conducted? Discuss how this problem can be overcome for generating random numbers in the C language. You do not need to use the C keywords, but you must clearly describe the concepts involved.

Question 2 (1 0 marks) a) Explain in simple words, what is meant by a Fourier decomposition of a timevarying signal, yet). b) What physical quantity will the Fourier transform F, of the spatially varying signal y(x) be a function of? (i.e. what is the other member of the Fourier transform pair involving a quantity varying as a function of space?) c) In experimental situations, an analytical form of the function yet) (i.e. a timevarying signal) is unlikely to be known. Instead, we generally have a series of discrete measurements of y at time t, for which we can use a discrete Fourier transform (DFT). I. Explain how the data should be spaced in time to use a DFT. 11. If there are m discrete measurements of y as a function of t, how many discrete frequencies will be recoverable fro m the data. 111. State the Nyquist frequency in terms of the time sampling interval, L\t, and explain how this limits the frequencies that may be recovered from the data. d) Why is a fast Fourier transform (FFT) algorithm usually used instead of a DFT? Your answer should give an approximation in both cases of the number of operations required to transform N data points for both algorithms. What extra constraint do the most common FFT algorithms place on the number of measured data points, N. Is this a hard constraint on the actual number of measurements that needs to be made? Explain why or why not. e) A general sinusoidal wave has an equation of the form y(x,t) = A cos[kx - (tjt + 90] where y is the displacement of the medium at time t and position x, A is the amplitude of the wave, k is the wavenumber, (tjis the angular frequency and rfjo is the initial phase angle. Starting with this equation, derive a form of the wave equation which is independent of k and lij, but which does depend on the wave speed in the medium.

Question 3 (8 marks) The first order ordinary differential equation (ODE) dy =2xy dx can be solved using Euler's method. Given an initial condition (xo, yo), successive points on the solution curve (x, y(x)) can be generated by taking equal steps of size h in the independent variable x, and detennining the new y value using y ;+! = y; + hf(x;, y ;). The numerical solution is then a set of points that approximate the solution curve. A second method of solution is the modified Euler method y,+! = y;+hj x; h h ] [ +"2'y; + "2!(x"y,) a) Explain the operation of the simple and modified Euler methods in geometrical tentis. b) Use the simple Eul er method to solve the ODEy' = 2xy, given that f(o) =I, on the interval 0 ~ x ~ 2 for a step size of 0.5.

Question 4 (8 marks) The table below shows experimental measurements of displacement, y, at a time x. Fit an approximating polynomial function to the data by following the steps below to make the fit. a) Complete the following difference table. Make sure you complete the table in your book, not on this exam paper! x o y t;. /'1 2 t;.l t;.4 1 0 2 3 4 5 6 3 16 45 96 17 5 b) What order polynomial would you consider the most appropriate to fit the above data set? Why? c) Use the Gregory Newton equation d) y = f(x) = f(a) + '!'(x - a)/'1+ ~_l (x - a)(x - a -1)t;.2 + ~_l (x - a)(x - a -l)(x - a - 2}1'1' +... h 2! h' 3! h J to approximate the polynomial of whichever order you think is most appropriate. Is the polynomial an exact fit to the measured data? (Hint: use the first and last x values to see if you can reproduce the exact y value.)

Question 5 (4 marks) When fitting a line of the form y =ax+ b to a set of data points, the coefficients a and b can be determined via the technique of least squares. a) Briefly describe how the least-squares criteria determine an objective "line of best fit" for a data set. You may assume that we are concerned with the uncertainty in the "y" value only. Illustrate your answer with a hypothetical graph with 5 points scattered around a line-of-best-fit by drawing on this graph the geometric quantity to be minimised. b) The coefficients a and b are given by n 11 11 Lx(i)Ly(i) - NL(x(i)y(i)) a = ;- l[t,~~li)j _~il(x(i))'] n n n n L x(i)l(x(i)y(i))-l(x(i))' L y(i) Find the equation for the line of best fit for the following data set. X -2-1 o 1 2 y -7-8 -2-1 5 QUESTION CONTINUES ON FOLLOWING PAGE

c) The correlation coefficient is given by n _ 2 LV(i)-Y) ;=] Calculate the coltelation coefficient for the above data. Is the least squares line a good fit to the above data. Give a valid reason for your answer.