Single-Course Danish 5 ECTS

Modeling and Programming

Overall Course Objectives

Basic level of Matlab programming and application of laws of physic with the aim of formulating mathematical models within the fields of the mechanical engineer.

Learning Objectives

  • Write programs in Matlab using conditional code execution, loops, functions, and arrays.
  • Solve a set of differential equations in the time domain with ODE45.
  • Solve a differential equation in the time domain with Simulink.
  • Apply the Matlab Symbolic Math Toolbox for manipulation of and solving equations.
  • Derive the governing equations for a few problems in the field of mechanical engineering.
  • Rewrite higher order differential equations as a set of first order differential equations.
  • Determine whether a system is linear or not, and perform the linearization of nonlinear systems.
  • Conduct a medium size programming task in collaboration with others.
  • Author a technical report with graphics in publishing quality and formatted Matlab source code.

Course Content

Fundamental Matlab programming: Conditions, loops, functions, arrays, plots, handles, and file input/output. Classical laws of physics: Newton’s 2nd law, Fouriers heat law, Kirchhoff’s current law. Numerical solution of initial value problems: Euler’s method, midpoint rule, ODE45, Simulink. State-space formulation. Linearization of differential equation.

Recommended prerequisites

01901 Calculus and algebra 1.
62675 Mechanics.

Teaching Method

The teaching method is a combination of lectures, group and individual programming and modeling tasks with software on students’ own computer as well as problem solving.
Software: MATLAB/Simulink.



Faggruppe: Mekanisk teknologi
Maskinteknik: 2. semester

See course in the course database.





13 weeks


Engineering Technology


DTU Ballerup Campus

Course code 62646
Course type Graduate Engineer
Semester start Week 5
Semester end Week 19
Days Tues 13-17

7.500,00 DKK