DN1212 Numerical Methods and Basic Programming 9.0 credits

Numeriska metoder och grundläggande programmering

A basic course in numerical methods and programming technique.

  • Educational level

    First cycle
  • Academic level (A-D)

    A
  • Subject area

    Techonology
  • Grade scale

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

Course offerings

Autumn 12 CMAST for programme students

  • Periods

    Autumn 12 P2 (4.5 credits)
    Spring 13 P3 (3.0 credits), P4 (1.5 credits)
  • Application code

    50002
  • Start date

    2012 week: 48
  • End date

    2013 week: 17
  • Language of instruction

    Swedish
  • Campus

    KTH Campus
  • Number of lectures

    22 (preliminary)
  • Number of exercises

  • Tutoring time

    Daytime
  • Form of study

    Normal
  • Number of places

    No limitation
  • Schedule

    Schedule (new window)
  • Teacher

    Beatrice Frock <beatrice@kth.se>
  • Target group

    Compulsory for CMAST1 but available for all programs

  • Part of programme

Autumn 12 CKEMV for programme students

Autumn 12 CMATD, CENMI for programme students

Autumn 12 CBIOT for programme students

  • Periods

    Autumn 12 P1 (4.5 credits), P2 (4.5 credits)
  • Application code

    50031
  • Start date

    2012 week: 34
  • End date

    2013 week: 1
  • Language of instruction

    Swedish
  • Campus

    KTH Campus
  • Number of lectures

    32 (preliminary)
  • Number of exercises

    28 (preliminary)
  • Tutoring time

    Daytime
  • Form of study

    Normal
  • Number of places

    No limitation
  • Schedule

    Schedule (new window)
  • Teacher

    Beatrice Frock <beatrice@kth.se>
  • Target group

    Compulsary for CBIOT3 but available for all programs

  • Part of programme

Spring 13 CDEPR for programme students

  • Periods

    Spring 13 P3 (4.5 credits), P4 (4.5 credits)
  • Application code

    60175
  • Start date

    2013 week: 2
  • End date

    2013 week: 21
  • Language of instruction

    Swedish
  • Campus

    KTH Campus
  • Number of lectures

    34 (preliminary)
  • Number of exercises

  • Tutoring time

    Daytime
  • Form of study

    Normal
  • Number of places

    No limitation
  • Schedule

    Schedule (new window)
  • Teacher

    Beatrice Frock <beatrice@kth.se>
  • Target group

    Compulsary for CDEPR1 but available for all programs.

  • Part of programme

Learning outcomes

An overlying goal of the course is the realisation of the necessity of numerical methods and programming techniques in order to simulate technological and scientific processes.

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 suitable programming language, e.g. Matlab
  • present the results in a relevant and illustrative way
  • provide an estimate of the accuracy of the results
  • break down larger problems into subproblems, and write user functions for these
  • utilize control- and datastructures
  • handle files in various formats, both for input and output
  • utilize standard functions from Matlab's library, for calculation, visualization and efficient programming
  • write well-structured programs in the programming language.

Course main content

Fundamental computer concepts. Programming in a modern programming language for scientific computations (Matlab). Use of a graphic library. Problem solving by subdivision of the problem. Program structuring. Use of mathematics software for solving technical-mathematical problems, doing numerical experiments and presenting solutions. Basic concepts and ideas in numerical analysis: algorithms, computational cost, local linearization, iteration, extrapolation, discretization, convergence, stability. Reliability assessment: parameter sensitivity, experimental perturburations. Numerical methods for linear and nonlinear systems of equations, integrals, differential equations, interpolation. Model fitting with the method of least squares.

Eligibility

Prerequisites

Corresponding to courses in Linear algebra and and Differential calculus for functions in one variable. 

Literature

To be announced at least 4 weeks before course start at course home page. Probably we will use P. Pohl: Grunderna i numeriska metoder, Teknisk Högskolelitt. S. Chapman: Matlab programming for engineers, Brooks/Cole, Thomson Learning. Material produced at the department.

Examination

  • LAB1 - Laboratory Works, 1.5 credits, grade scale: P, F
  • LAB2 - Laboratory Works, 1.5 credits, grade scale: P, F
  • LAB3 - Laboratory Works, 1.5 credits, grade scale: P, F
  • LAB4 - Laboratory Works, 1.5 credits, grade scale: P, F
  • TEN1 - Examination, 3.0 credits, grade scale: A, B, C, D, E, FX, F

In this course all the regulations of the code of honor at the School of Computer science and Communication apply, see: http://www.kth.se/csc/student/hederskodex/1.17237?l=en_UK.

Requirements for final grade

Examination (TENl; 3 university credits).
Laboratory work (LAB1; 1.5 university credits), (LAB2; 1,5 university credits), (LAB3; 1,5 university credits), (LAB4; 1,5 university credits).

Offered by

SCI/Mathematics

Contact

Christina (Ninni) Carlsund, tel: 790 8193, e-post: ninni@kth.se

Examiner

Christina M Carlsund Levin <ninni@kth.se>

Supplementary information

Only one of the following courses can be counted in your degree: DD100N, DD1310, DD1311, DD1312, DD1314, DD1315, DD1340, DD1341, DD1342, DD1343, DD1345, DN1212, HI1024, HI1026, ID1004, ID1301.

Add-on studies

DD1321 Applied Programming and Computer Science and DN2221 Applied Numerical Methods, part 1.

Version

Course plan valid from: Autumn 09.
Examination information valid from: Autumn 07.