Numerical Methods in Physics - Lecture Handouts and Exercises
2004/2005, Lecturer: Dr. Rennan Barkana

Notes:

Lecture #, Date Topic Sections in

Numerical Recipes

Notes: (PDF) Exercises: (PDF)
#1: 19/Oct/2004 Introduction, Interpolation 3.0, 3.1 Lecture 1 Notes Exercise 1 (Due 7AM, Sun. Oct. 31)

Note: see above for general exercise instructions.

More help for exercise 1 is available here.

Also available is a partial solution.

#2: 26/Oct/2004 Spline Interpolation 3.3, 1.2, 1.3 Lecture 2 Notes Exercise 2 (Due 7AM, Sun. Nov. 7)
#3: 02/Nov/2004 Numerical Errors, Integration 4.0, 4.1, 4.2 Lecture 3 Notes Exercise 3 (Due 7AM, Sun. Nov. 14)

M-files examples from the recitation: func1.m, func2.m, func3.m, example.m

M-files for exercise 3: my_func.m, targil3_trapez.m, targil3_it_trapez.m

Introduction to Matlab

Partial solution for exercise 3: my_func.m, targil3.m, targil3_it_trapez.m

#4: 09/Nov/2004 Romberg Integration 4.3 Lecture 4 Slides

Lecture 4 Notes

Exercise 4 (Due 7AM, Sun. Nov. 21)

Introduction to Mathematica

#5: 16/Nov/2004 Numerical Derivatives 5.7 Lecture 5 Slides

Lecture 5 Notes

Exercise 5 (Due 7AM, Sun. Nov. 28)

Exercise 5 binary data file (also, see the help for exercise 1, above)

Partial solution for exercise 5: targil5.m

#6: 23/Nov/2004 Systems of Linear Equations 2.0, 2.1 Lecture 6 Slides

Lecture 6 Notes

Exercise 6 (NEW: 2 QUESTIONS ONLY: Due 7AM, Sun. Dec. 5)

Letter to the class (Please read)

#7: 30/Nov/2004 L-U and Singular Value Decomposition 2.3, 2.6 Lecture 7 Slides

Lecture 7 Notes

Exercise 7 (Due 7AM, Wed. Dec. 15)

Exercise 7 binary data file

Grades (1-4): updated

Message from the grader

Partial C solution for exercises 6-7: targil6.c

Matlab solution for exercise 7: targil7.m (SVD in Matlab)

#8: 07/Dec/2004 Random Numbers 7.0, 7.1 (briefly), 7.3 Lecture 8 Slides

Lecture 8 Notes

#9: 14/Dec/2004 More Random Numbers, Roots 7.2, 7.3, 9.0 Lecture 9 Slides

Lecture 9 Notes

Exercise 8 (Due 7AM, Sun. Dec. 26)

Grades (1-6): updated

Partial solution for exercise 8: targil8.m

#10: 21/Dec/2004 Roots, Minima 9.1, 9.4, 10.0, 10.1, 10.2 Lecture 10 Slides

Lecture 10 Notes

#11: 28/Dec/2004 Multi-dimensional Minima 10.4, 10.5 Lecture 11 Slides

Lecture 11 Notes

Exercise 9 (Due 7AM, Sun. Jan. 2)
#12: 04/Jan/2005 Fourier Transforms 12.0, 12.1, 12.2 Lecture 12 Slides

Lecture 12 Notes

Exercise 10 (Due 7AM, Sun. Jan. 9)

Grades (1-8): updated

C solution for exercise 10: targil10.c

Matlab solution for exercise 10: targil10.m

Please Fill Out The Computerized Course Survey (2/1 - 22/1) here.

#13: 11/Jan/2005 Ordinary Differential Equations 16.0, 16.1, 16.2 Lecture 13 Slides

Lecture 13 Notes

Exercise 11 (Due 7AM, Sun. Jan. 16)

A Mathematica example

Grades (1-10): updated

Partial Matlab solution for exercise 11: targil11.m

Please Fill Out The Computerized Course Survey (2/1 - 22/1) here.

#14: 18/Jan/2005 Partial Differential Equations 19.0, 19.1 Lecture 14 Slides

Lecture 14 Notes

Exercise 12 (Due 7AM, Sun. Jan. 30)

Ex. 12 is now an optional bonus: Details

Solution for exercise 12: targil12.c

Grades (1-12): Final

Summary of material for the exam