Wednesdays 13-15 (except the first week) in computer room MVF24 (Mathematical Sciences in Physics building).
Fridays 13-15 in computer room MVF24 (exept the first week).
Computer labs and Matlab/PETSc excercises will be included in the
Matlab programs which will be used in computer exercises:
Templates for programs written in PETSc:
Template for computing of discretized Laplacian
Template for the main program in PETSC for LU decomposition
Example of Makefile to be able compile PETSc program at Chalmers
Template for petsc function which removes zeros from the original matrix. We can work then with resulting matrix without zeros in the same way as with original matrix.
Additional templates of PETSc-Makefile and main program in PETSc:
Example of the main program in PETSC.
Example of the Makefile to compile the above main program like that: make hello
- Tobin A. Driscoll, Learning MATLAB, ISBN: 978-0-898716-83-2
(The book is published by SIAM)
The following sections in the textbook will be considered in the
- Chapter 1
mainly repetition and brief revision on basic linear algebra.
- Chapter 2
1-6, 7 except 2.7.4 and 2.7.5
- Chapter 3
- Chapter 4
- Chapter 5
- Chapter 6
1-6, except 6.3.3, 6.5.6, 6.6.4,6.6.6
The following questions in the textbook are recommended:
- Chapter 1: 1, 2, 3, 4, 5, 7, 13.
- Chapter 2: 3, 6, 7, 10, 11, 12, 17, 19.
- Chapter 3: 1, 2, 3(parts 1,2,3), 4, 5, 6, 8, 9, 11, 14, 15, 18.
- Chapter 4: 1, 3, 4, 5, 6, 7, 10, 11, 12, 13.
- Chapter 5: 1, 3 (for symmetric matrix), 6, 7, 14, 15, 16, 17, 18, 22, 27, 28.
To each chapter belong an optional homework assignment and a
computer exercise. The homework assignments are similar to the
questions in the textbook and such you could expect at the
examination. In the computer exercises you will be trained in using
different algorithms in numerical linear algebra using MATLAB or
PETSc libraries. Either you will use already existing MATLAB and
PETSC programs or write your own small MATLAB or PETSc codes. The
homework assignments give bonus credit points for the examination.
Since the occasions reserved for the computer exercises are without
supervision you may put questions on these exercises to me at the
lectures. Passed computer exercises will be graded with grades 3,
4, or 5, see examination below.
You may work in a group of 2 persons but hand in only one report for the group.
Wednesdays 13-15 (except the first week) in computer room MVF24 (Mathematical Sciences at Physics building)
Fridays 13-15 in computer room MVF24 (exept the first week when it is in room MVF25).
Hand in a short report of your work
before the final exam.
Chalmers Student Portal
you can read about when exams are
given and what rules apply on exams at Chalmers.
At the link Schedule
you can find when exams are given for courses at University of
At the exam, you should be able to show valid identification.
Before the exam, it is important that you report that you want to
take the examination. If you study at Chalmers, you will do this
Chalmers Student Portal
, and if you study at University of
Gothenburg, so sign up via GU's
You can see your results in Ladok by logging on to the Student
At the annual examination:
When it is practical a separate review is arranged. The date of
the review will be announced here on the course website. Anyone
who can not participate in the review may thereafter retrieve and
review their exam on Mathematical sciences study expedition,
Monday through Friday, from 9:00 to 13:00. Check that you have the
right grades and score. Any complaints about the marking must be
submitted in writing at the office, where there is a form to fill
Exams are reviewed and picked up at the Mathematical sciences
study expedition, Monday through Friday, from 9:00 to 13:00. Any
complaints about the marking must be submitted in writing at the
office, where there is a form to fill out.