Skip to main content

Before choosing course

Basic course in numerical methods.

Course offering missing for current semester as well as for previous and coming semesters
* Retrieved from Course syllabus DN1240 (Autumn 2009–)

Content and learning outcomes

Course contents

Basic concepts and ideas: algorithm, local linearization, iteration, extrapolation, discretization, convergence, stability, condition.

Reliability assessment: parameter sensitivity, experimental perturbations, precision.

Numerical methods for: linear systems of equations, nonlinear equations and systems of equations, interpolation, model-fitting with the method of least squares, optimization, quadrature, differential equations.

The application of mathematical software in the solution of scientific and engineering problems, numerical experimentation, and the presentation of final results.

The course contents and teaching may vary somewhat between the programs; more detailed information will be given at

Intended learning outcomes

An overlying goal with the course is the realization of the necessity of numerical methods in order to simulate technological and scientific processes based on mathematical models.

After completing this course, the students should be able to

  • identify various mathematical problems and reformulate these in a way suitable for numerical treatment
  • select a suitable numerical method for the treatment of the given problem
  • motivate the choice of a method by describing its advantages and limitations
  • select an algorithm leading to efficient computation and implement this in a programming language, suitable for scientific computing, e.g. Matlab
  • present the results in a relevant and illustrative way
  • provide an estimate of the accuracy of the results
  • utilize standard functions from e.g. Matlab's library for calculation, visualization and efficient programming.

Course Disposition

No information inserted

Literature and preparations

Specific prerequisites

For single course students: completed upper secondary education including documented proficiency in Swedish corresponding to Swedish B, English corresponding to English A. Furthermore: 15 hp in mathematics and 6 hp in computer science or programming technics.

Recommended prerequisites

Studying at KTH: mandatory first year courses in mathematics and a course in computer science or programming techniques (e.g. 2D1339).


No information inserted


To be announced at least 4 weeks before course start at course web page. In 08/09: M.T. Heath: Scientific Computing, an introductory survey, McGraw Hill and material produced at the department.

Examination and completion

If the course is discontinued, students may request to be examined during the following two academic years.

Grading scale

A, B, C, D, E, FX, F


  • LABA - Laboratory Work, 1,5 hp, betygsskala: P, F
  • LABB - Laboratory Work, 1,5 hp, betygsskala: P, F
  • TEN1 - Examination, 3,0 hp, betygsskala: A, B, C, D, E, FX, F

Based on recommendation from KTH’s coordinator for disabilities, the examiner will decide how to adapt an examination for students with documented disability.

The examiner may apply another examination format when re-examining individual students.

In this course all the regulations of the code of honor at the School of Computer science and Communication apply, see:

Other requirements for final grade

A written examination (TENl; 3 university credits.).
Computer assignments (LABA; 1,5 university credits.).
Computer assignments with oral and written presentation (LABB; 1,5 university credits.).

Opportunity to complete the requirements via supplementary examination

No information inserted

Opportunity to raise an approved grade via renewed examination

No information inserted


No information inserted

Ethical approach

  • All members of a group are responsible for the group's work.
  • In any assessment, every student shall honestly disclose any help received and sources used.
  • In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.

Further information

Course web

Further information about the course can be found on the Course web at the link below. Information on the Course web will later be moved to this site.

Course web DN1240

Offered by


Main field of study

Mathematics, Technology

Education cycle

First cycle

Add-on studies

DN2221, DN2222 (only in combination with DN2221), DN2264, DN2266, DN2230, DN2260.


Katarina Gustavsson (

Supplementary information

The course cannot be counted towards the degree if the student also has taken DN1212, DN1213, DN1214, DN1215, DN1241.