^ Up to course homepage.

Recent information on "Introductory Course on Scientific Programming"

Latest news

[Aug 28, 10.00]
Today's computer laboration will be held in Spelhallen, on the fifth floor in the east wing.
[Aug 20, 07.30]
The handouts for the first three lectures have been uploaded. Remaining material will be uploaded on a daily basis prior to the lectures.


The lecturer is Christer Andersson,


The main literature consists of copied transparencies which will be handed out at the beginning of the course. All material handed out is also available for download below.

More detailed documentation can be found in the reference material.

Schedule & Course plan

Monday August 199.15-12.00, lecture in room 4523
13.00-16.00, computer exercises in Spelhallen
Tuesday August 209.15-12.00, lecture in room 4523
13.00-16.00, computer exercises in Yellow & Green
Wednesday August 219.15-12.00, lecture in room 4523
13.00-16.00, computer exercises in Yellow & Green
Thursday August 229.15-12.00, lecture in room 4523
13.00-16.00, computer exercises in Yellow & Green
Friday August 239.15-12.00, lecture in room 4523
13.00-16.00, computer exercises in Yellow & Green
Monday August 2610.15-12.00 and 13.15-14.00, lecture in room 4523
14.00-17.00, computer exercises (location to be announced)
Tuesday August 279.15-12.00, lecture in room 1537
Wednesday August 2813.00-16.00, computer exercises (location to be announced)
Course plan
DateTopics covered
Monday August 19Introduction to Unix & the Nada computer environment. Basic C constructs.
Tuesday August 20Functions and arrays in C. The Nada computer environment.
Wednesday August 21Pointers and functions in C.
Thursday August 22Makefiles, strings and numerical libraries.
Friday August 23Preprocessor directives, structures and enumerations. Other programming languages.
Monday August 26Matlab introduction: mathematics, graphics & programming.
Tuesday August 27Matlab applications: ODEs, sparse matrices, optimisation, ...

Computer exercises

Each lecture is followed by three hours of computer exercises, where small problems related to the lecture are solved. The aim of the C exercises is to enable students to implement a short but significant numerical application by the end of the week.


Unless otherwise specified all links below lead to handouts in PDF format.

Monday August 19 Lectures 1-3
Computer exercises
Excerpts from the "Linux Users' Guide"
Getting Started With Email Using Pine
Brief description of the computer system at Nada's library
Tuesday August 20Lectures 4-6
Documentation for files plot.h and plot.c
Wednesday August 21Lectures 7-9
Emacs refernce card (external link)
Thursday August 22Lectures 10-12 (lectures 11-12 only partially covered)
Friday August 23Lectures 14-15 (slides from lectures 11-12 were used for lecture 13)
Monday August 26Matlab lectures 1-3
Tuesday August 27Matlab lectures 4-6

Reference material

There are several introductory texts on C available on the web. You can for example have a look at More detailed information can be found in the following reference manuals stored locally at Nada. Sun provides a large amount of online documentation, including some C-specific information.

Matlab documentation can be accessed by giving the command doc at the Matlab prompt.

Source code

^ Up to course homepage.

Responsible for this page: Christer Andersson <>
Latest change:
Technical support: <>