Prof. Alejandro Manjavacas
Office: P&A 1136
Phone: 505 277-1064
Mr. Jui-Jen Wang
Office: P&A 131
Monday, Wednesday, and Friday, 10:00-10:50, Regener Hall Room 118.
Each day after class, Wednesday at 1:00-2:00 pm in Physics (Lomas and Yale) room 1136, or by appointment.
The teaching assistant is Mr. Jui-Jen Wang (firstname.lastname@example.org). He will be available on Tuesdays and Thursdays at 1:00-2:00 Physics (Lomas and Yale) room 131 for you to discuss any homework grading issues you may have (please send an email to arrange an appoinment).
The grading in the course will be based on your performance in homework assignments, two midterm exams, and a final exam. The contribution to the final grade is as follows:
1. Homework (40%)
Weekly homework assignments will consist of problems that must be solved using MATLAB code. Each problem will be worth of (N+M) points:
- The N points will be given based on whether the code produces the
correct result or not. The grader will not attempt
to fix code in any way.
- The M points will be given for well-documented code.
I encourage students to study
together and learn from each other. However, all
homework must be created in its entirety by each
student. Evidence of copied homework will result in
all involved students being dropped from the class.
Assignments are due before 24:00 on the due date. No
late assignments will be accepted.
The grader must be able to easily run your homework and therefore there must not be any confusion between your submissions and that from others. Homework submissions must be in the format: "LastName_HW1.m". If the solution consists of multiple files because of multiple problems or functions, then name files "LastName_HW1_Problem1.m" or "LastName_HW1_FuncName.m".
Submission Procedure: Login to your
learn.unm.edu account. Find the current homework
assignment for Physics 290. Upload each *.m file as an
separate file. Let me know if you have problems. As a
LAST resort if you are having problems, you may email
me your files with subject line '290 Homework X'.
2. Quizzes (40%)
We will have four quizzes throughout the semester. No make-up quizzes will be offered.
3. Final Exam (20%)
Final Exam will consist of an individual project. Details will be discussed in class.
|01/18 (W)||Working in the Command Window and
Editor. Using 'help' and 'doc'. Intro to Arrays
and Matrices. Basic data types.
|01/20 (F)||Loops and Control Structures.
|01/25 (W)||Anonymous Functions. Plotting.||lecture4.m
|01/27 (F)||Plotting Multiple Curves. Plot Animation.||lecture5.m||HW2||02/06 (M)||HW2_sol
|01/30 (M)||Making a Movie. Numerical Integration: MidPoint Method.||lecture6.m|
|02/01 (W)||The MATLAB path. Numerical Integration: Newton-Cotes formulas||lecture7.m
|02/03 (F)||Numerical integration: Trapezoid Method and Simpson's rule||lecture8.m||
|02/06 (M)||Switch-case. Array Operations. Cell Arrays. Structures. Intro to Classes.||lecture9.m
|02/08 (W)||Problem Session 1||PC1
|02/10 (F)||QUIZ 1||Quiz1
|02/13 (M)||Histograms. Random Number
The Uniform and Normal Distributions.
|02/15 (W)||The Central Limit Theorem. Random Walks. The Exponential Distribution.||lecture11.m
|02/17 (F)||Error Scaling in Numerical Integration. Classes, objects and methods.||lecture12.m
|02/20 (M)||The Inversion Method.
Rejection-sampling. The Poisson
|02/22 (W)||RNGs from the Statistics Toolbox. Numerical integration: Montecarlo Method.||lecture14.m
|02/24 (F)||Symbolic Calculations.||lecture15.m
|02/27 (M)||Numerical Integration of ODEs: Euler's Method.||lecture16.m
|03/01 (W)||Numerical Integration of ODEs: Runge-Kutta.||lecture17.m
|03/03 (F)||Saving and Loading. Error handling. 'Publish' functionality.||lecture18.m
|| Linear Algebra and Eigenvalue
|03/08 (W)||Problem Session 2
|03/10 (F)||QUIZ 2||Quiz2
|03/15 (W)||Spring Break
|03/17 (F)||Spring Break
|03/20 (M)||Newton´s method for finding zeros.||lecture20.m
|03/22 (W)||The Secant Method.||lecture21.m
|03/24 (F)||Golden Section Search Method. Calculating Pi.||lecture22.m
|03/27 (M)||Complex Numbers; Waves and Interference.||lecture23.m|
|03/29 (W)||Huygens Principle; Simulating Diffraction.||lecture24.m||HW7
|03/31 (F)||Overloading operators. Intro to Discrete Fourier Transforms.||lecture25.m
|04/03 (M)||Creating and using a Graphical User Interface (GUI)||lecture26.m
|04/05 (W)||Problem Session 3
|04/07 (F)||QUIZ 3||Quiz3||Quiz3_sol|
|04/10 (M)||Solution of Quiz3
|04/12 (W)||Fourier Transforms.||lecture27.m
||Fraunhofer Diffraction and the 2D Fourier Transform.||lecture28.m|
||Solving the Heat/Diffusion Equation with Fourier Series.||lecture29.m||HW8||05/03 (W)
||Wave Packets. Convolutions||lecture30.m|
||Curve Fitting / Latex|
||Latex / Questions
||Final Project Presentations|