SPRING 2012 Computational Methods in Physics - Eastern Illinois ...

6 downloads 71 Views 34KB Size Report
by applying the numerical methods discussed in the lectures. ... (1) Applied Numerical Methods for Engineers and Scientists, Singiresu S. Rao, Prentice.
Department of Physics Eastern Illinois University Charleston, IL 61920 PHY 3320: SPRING 2012 Computational Methods in Physics and Engineering Class type: Lecture + Lab Lecture: M W F 11:00 - 11:50 am Location: PHYS 2409 Lab: T 9:00 - 11:50 am Location: Same Instructor: Dr. Jie Zou

Office: PHYS 1114

Email: [email protected] Web: http://www.ux1.eiu.edu/~jzou/

Tel: 581-6346

Office Hours: M W (1:00 – 2:00; 2:00 – 3:00) F (2:00 – 3:00; 3:00 – 4:00) or by appointment

Course Content In physics and engineering, there are many problems which cannot be solved analytically and have to be solved numerically with the help of computers. In this course, we will introduce important numerical methods and their practical applications to solving realistic problems in physics and engineering. Besides regular lectures, a weekly three-hour lab is an integral part of this course, during which you will work on computer-based examples, homework assignments, and a class project. These assignments and the project are designed to help you grasp the techniques of the numerical methods discussed in the lectures, and gain a hands-on experience with using the latest scientific computing software, MATLAB, for problem solving and visualization. Topics that will be covered in this course include: solution of nonlinear equations, solution of simultaneous linear algebraic equations, curve fitting and interpolation, numerical differentiation and integration, and solution of ordinary differential equations for both initial-value and boundary-value problems. Each topic will be discussed in the context of its applications in physics and engineering. Although this course is designed mainly for students in physics and pre-engineering, it is also suitable for students in chemistry and mathematics. Course Structure (1) Lectures: Three lectures each week; fifty minutes per lecture We will take an active-learning or learning-by-doing approach in the lectures. We will first discuss the principles of the numerical methods, and then work out examples together on the computers to see how these numerical methods can be implemented in practice. PowerPoint lecture presentations will be posted on the class website at

1

http://www.ux1.eiu.edu/~jzou/. You can review class materials before and after each class. (2) Labs: One lab each week; about three hours per lab In the Labs, you will work on computer-based homework assignments and the class project by applying the numerical methods discussed in the lectures. The homework assignments will be closely related to the worked examples discussed in the lectures. The class project will be more challenging in that the student has to select a problem, analyze the problem, decide on a numerical method to solve the problem, and present the results. Textbooks (1) Applied Numerical Methods for Engineers and Scientists, Singiresu S. Rao, Prentice Hall, 2002. • Resources: Textbook website at http://www.prenhall.com/rao (2) Computational Physics, 2nd ed., Nicholas J. Giordano and Hisao Nakanishi, Pearson Prentice Hall, 2006 (supplementary; textbook for the next course, PHY 4320, Computational Physics). (3) Applied Numerical Methods with MATLAB for Engineers and Scientists, 2nd ed., Steven C. Chapra, McGraw-Hill, 2008 (additional Reference Book; some of the materials will be based on this book; handouts will be given in class). Course Grading (1) Homework Assignments (Assigned every other week) (2) Project (One; oral presentation) (3) Mid-Term Exam (4) Final Exam (Not comprehensive) (5) Quizzes (6) Class Attendance Total

30% 20% 15% 15% 10% 10% 100%



Homework will be assigned every other week, and usually will be collected on Mondays in class. Each homework assignment consists of two parts: (i) a written part and (ii) a computer-based part. For the computer-based part, an electronic copy of the computer program should be emailed to the instructor before the deadline. A hard copy of the computer program and the obtained results should also be attached to the homework when turned in. Copying each other’s homework is not allowed. No late homework will be accepted without the instructor’s approval.



A class project will be assigned after the mid-term. Each student (or team) will give an oral presentation.

2



Each exam consists of two parts: part (i) is a closed-book written part, which tests basic definitions, derivations of numerical algorithms, implementations of numerical algorithms by hand, etc.; part (ii) is an open-book computer-based part, in which you will be asked to solve problems individually by writing and running MATLAB codes on a computer. Although part (ii) is open-book, example codes handed out in class and solution codes of previous homework or quizzes cannot be used. The computer-based part of each exam will be graded based on the completion of the computer program and the correctness of the results. No make-up exams will be given.



Short and closed-book quizzes will be given in class to determine your understanding of class material. No make-up quizzes will be given. Therefore, do not miss any classes.



Attending class regularly is one of the most important factors in doing well in this class. Throughout the semester, class attendance will be taken at the instructor’s discretion.

Grading for this course will in general adopt the following method. However, grades may be curved when necessary. A: 90%-100% B: 80%-89% C: 70%-79% D: 60%-69% F: below 60% Mid-Term and Final Exam Schedules Mid-Term Exam (Ch. 2, 3, and 5): Tuesday, 02/28/12, 9:00 – 11:50 am, PHYS 2409. Final Exam (Ch. 7, 8, and 9): Tuesday, 05/01/12, 12:30 – 2:30 pm (with one-hour extension), PHYS 2409. Studying Tips How to study this course well? Here are some suggestions: • • • • •

Read and think about the material before each class. Listen to the lectures with questions and take lecture notes. Study the textbook and lecture notes after each class. Work out examples and do homework – Learning by doing! Discuss questions with me during office hours.

3

Information for Students with Disabilities If you have a documented disability and wish to receive academic accommodations, please contact the coordinator of the Office of Disability Services at 581-6583 as soon as possible. Appropriate academic support is available for students with a documented disability. Please notify your professor and contact the Office of Disability Services for further information. Contact the Office of Disability Services for answers regarding accommodations, auxiliary learning aids and physical accessibility. Diagnostic information regarding the disability must be submitted so the most appropriate accommodations can be arranged. Refer to the Undergraduate Catalog for more information.

A semester schedule for this course is given on the next page. Changes may be made when necessary.

ENJOY THE CLASS AND HAVE A GOOD SEMESTER!

4

PHY 3320 SPRING 2012 LECTURE + LAB SCHEDULE (Changes may be made when necessary.)

Week 1 (01/0901/13)

Monday Introduction to MATLAB: Fundamentals

Tuesday Cont.; Hand out HW#1 (Due 01/25); Work on #1, 2, 3. Cont. to work on HW#1; Quiz #1

Wednesday Introduction to MATLAB: Programming with MATLAB

Friday Cont.

Ch. 2 Solution of nonlinear equations (I)

Cont. Ch. 2 (I)

Cont. HW#1; f’(x), Newton’s method ex.; Write a code for the ex.; Start HW#2 Work on HW#2

Discuss code for Newton’s method ex.; Ch. 2 (III)

Ch. 3 Solution of simultaneous linear algebraic equations (I)

Cont. to finish Ch. 3 (II) Discuss Collocation pol. Ex. Code; Ch. 5 Curve fitting and interpolation (I) Ch. 5 (II)

Ch. 3 (III)

Week 2 (01/1601/20)

M.L. King’s Birthday Observed/No Classes

Week 3 (01/2301/27)

Ch. 2 (II); Hand out HW#2 (Due on 02/08)

Week 4 (01/3002/03) Week 5 (02/0602/10)

Cont. to finish Ch. 3 (I); Ch. 3 (II)

Week 6 (02/1302/17)

Write a code for the Cont. HW#3 Lagrange Interpolation; Work on HW#3 Cont. Ch. 5 (II) Ch. 5 (III); Write a code for Newton’s divideddifference interpolation; Hand out

Week 7 (02/2002/24)

Practice and discuss Cont. HW#2; the Gauss Start HW#3 elimination ex.; Hand out HW#3 (Due on 02/22)

5

Cont. to work on HW#4

Cont. Ch. 5 (I)

Lincoln’s Birthday-No Class Ch. 5 (IV)

Week 8 (02/2703/02)

Week 9 (03/0503/09) Week 10 (03/1203/16) Week 11 (03/1903/23)

Week 12 (03/2603/30) Week 13 (04/0204/06)

Week 14 (04/0904/13) Week 15 (04/1604/20) Week 16 (04/2304/27)

Discuss ex. in linear leastsquare regression; practice writing a code; cont. HW#4 Cont. Ch. 7 (I); Hand out HW#5 (Due on 03/21) Spring Break-No Class Ch. 8 Numerical integration (I)

Work on HW#6 + Class Project Discuss ex. in Ch. 8 (II); Ch. 9 ODEs: initialvalue problems (I) Cont. Ch. 9 (II)

HW#4 (Due on 03/07); Work on HW#4 Mid-Term Exam (Ch. 2, 3, 5)

Ch. 7 Numerical differentiation (I)

Cont. HW#4

Work on HW#5

Cont. HW#5

Ch. 7 (II)

Spring Break-No Class Cont. HW#5

Spring BreakNo Class

Spring BreakNo Class

Cont. Ch. 8 (I); Discuss ex. and practice writing a code for Trapezoidal rule Ch. 8 (II)

Discuss the code for the ex. of the Trapezoidal rule; Discuss Class Project; HW#6 (Due on 04/11) Cont. Ch. 8 (II)

Cont. Ch. 9 (I)

Practice an ex. of Euler’s method; Ch. 9 (II)

Work on HW#6 + Class Project Work on HW#6 + Class Project

HW#6 + Work Cont. Ch. 9 (II) on Class Project

Work on Class Project

Work on Class Project

Work on Class Project

Discuss ex. and code for Heun’s method Work on Class Project

Project Presentation #1 (30 min)

Project Presentation #2 (30 min)

Project Presentation #3 (30 min)

Project Presentation #4 (30 min)

6