Learning outcomes

Write programs with structuring elements (including procedures, subroutines, functions, ...) and understanding the programming logic and respecting the syntax.

Implement simple algorithms in a compiled programming language based on some basic algorithms for a physicist (numerical integration, root search, data adjustment, random numbers).

Elements of numerical analysis (Errors, complexity) to become aware of the contributions and limits of digitalization

Goals

Mastering a programming language to become a program designer to solve physics problems.
 
Understanding the strengths and weaknesses of a numerical approach to solving problems in physics

 

Content

The course propose an introduction at the programming context (structure of a computer, operating systems, ...). The student get familiar with a compiled language (FORTRAN) and addresses the structure of complexe programming (subroutine, function, structure, tables, files, ...). The student will be brought to implement numerical solution usefull for a physicist.

Table of contents

Partie 0 :  Before programming ..


Partie I : A programming language : FORTRAN
 

Partie II : Computational physics

     Erreurs in computational physics

     Integration and differentiation

    Trials and errors

    Data fitting

    Random numbers

Partie III : Advanced programming
 

 

Assessment method

The evaluation takes account of the daily wotk of the student and of the final exam during the session

Sources, references and any support material

 S. J. Chapman, 'Fortran 95/2003 for Scientists and Engineers', McGraw Hill 2007.

R.H. Landau, M.J. Paez, C.C. Bordeianu, 'Computational Physics'  Wiley 2011

 

Language of instruction

Anglais
Training Study programme Block Credits Mandatory
Bachelor in Physics Standard 0 4
Bachelor in Physics Standard 2 4