course-details-portlet

BMA1020

Mathematics for Programming

Choose study year

Assessments and mandatory activities may be changed until September 20th.

Credits 7.5
Level Foundation courses, level I
Course start Spring 2026
Duration 1 semester
Language of instruction English
Location Gjøvik
Examination arrangement School exam

About

About the course

Course content

Probability theory

Discrete Probability. Expectation and variance. Simulations.

Logic

Bitwise logic. Negative and floating point numbers in binary.

Linear Algebra

Matrix algebra, programming with matrices, linear systems of equations, least squares method

Geometry.

Trigonometry and vectors2. Transformations in 2 and 3 dimensions. Rotations, Euler angles and quaternions

Procedural Methods

Perlin noise and midpoint displacement. Interpolation.

Mechanics

Differentiation and integration. Newtons laws. Elastic collisions. Particle systems.

Introduction to functional programming in Python.

Learning outcome

Knowledge about:

  • Applications of mathematics in programming
  • Elementary mechanics for games/applications
  • The role of mathematics in software development

Skills in:

  • Translating mathematics to code
  • Using relevant mathematical symbols and formulas
  • Applying mathematical libraries
  • General logical and mathematical reasoning

General competencies:

  • Problem solving and description of problems and their solutions
  • Programming
  • Written communication in English

Learning methods and activities

  • Lectures and tutorials
  • Compulsory assignments

Compulsory assignments

  • Assignments

Further on evaluation

Written digital exam.

A resit exam can be changed to oral exam. The resit exam is in August.

Course materials

Published notes and downloadable books. Web resources.

Subject areas

  • Mathematics

Contact information

Course coordinator

Lecturers

Department with academic responsibility

Department of Mathematical Sciences