Course manual 2017/2018

Course content

The numerical and analytical possibilities of Mathematica. Examples are taken from quantum mechanics and from real world more global problems. Effective use of Mathematica will be discussed, in particular for the following functions/tasks:

• Plots (of data, of arrays of data, of functions, of functions with more variable, of complex functions)

• Lists (create, process, select)

• Map, Apply and pure functions (for instance to process lists)

• The various assignments and equal signs (statement or questions? when provided or when needed?)

• Rules and patterns (for instance to avoid assignments)

• Analytical and numerical solutions of differential equations (in particular the Schrödinger equation, both stationary and time dependent)

• Physical constants, units, entities and external data 

• Reading in experimental or in any case external data, processing data (e.g. fitting)

Study materials

Software

  • Every student is expected to be present at the 8 sessions of this course with a laptop with Mathethematica installed on it. The classroom has a maximum number of 25 people.

     

    UvA students can install Mathematica will help of the following link:

    https://student.uva.nl/content/az/software/mathematica/mathematica.html

     

    At many different levels there is support material. Examples are:

    http://www.wolfram.com/language/fast-introduction-for-programmers/en/

    or more elementary (too elementary?)

    http://www.wolfram.com/language/elementary-introduction/2nd-ed/

Objectives

The goal in this computer practicum is to understand how the Computer Algebra System Mathematica works and to learn how it can be used with both experimental data and with theoretical models. After this course the student can:

• Use Mathematica to process experimental data (plot, select, transform, e.g. Fourier transform data)

• Find and visualise consequences of theories (solve both analytically and numerically both ordinary and partial differential equations)

• Confront theoretical and experimental results.

• Learn how to efficiently use computer resources and handle large amount of data with Mathematica (the strong and the weak points of Mathematica)

Teaching methods

  • Computer lab session/practical training

The collective teaching will be minimal. Emphasis is on student programming and problem solving with direct, individual and immediate interaction, help and feedback. Because of this direct support, projects and be started what would otherwise be considered too risky in terms of time investment or chance of remaining unfinished.

During the first two days of the course (first week), every student will work by himself/herself. 

This training period will help to have an idea about how you are starting to work and to take confidence in Mathematica environment.

After this training period, you can work in couples. It is not possible to work in groups of more than two people. The first two assignments have to be presented in a personal report, all the others in one notebook per couple.

Learning activities

This is a 3 EC course. The course has 32 contact hours. It is expected that a student spents in addition around 50 hours of self study to this course. This course requires a time investment between 80 and 90 hours. 

Attendance

Requirements concerning attendance (OER-B).

  • In addition to, or instead of, classes in the form of lectures, the elements of the master’s examination programme often include a practical component as defined in article 1.2 of part A. The course catalogue contains information on the types of classes in each part of the programme. Attendance during practical components is mandatory.
  • Additional requirements for this course:

    Because of the nature of the course (direct and immediate feedback) it is expected that a student attends all sessions. Contact the teacher in advance when attendance of a session is not possible. There are 8 sessions.

    Assessment

    Item and weight Details Remarks

    Final grade

    Final grade

    student Buijsman niet ingeschreven

    7 Assessment

    The evaluation process starts already during the sessions. Asking questions, talking with us; you are already showing how you work and your attitude in solving the main tasks in the exercises.

    Every week we ask you to solve two assignments in the form of notebooks. The assignments of that week have to be sent before the next week. They will be corrected and sent back with comments. These accumulated comments represent a way for us to guide you to a correct use of Mathematica. You are expected to read the corrections and not repeat the same mistakes! The comments can also contain suggestions. 

    Half way the course an indicative mark will be given, based on the results so far.

    The assignments are the first step of the evaluation. This is the reason why we expect you to write a proper report, including title and subsections and structure. It is considered important to comment your work, not only in terms of physics but also in terms of coding. 

    One week before the end of the course, we will present you a list of suggested exercises. You are suppose to choose one of them which will represent your last assignment. Because of the larger complexity of this exercise, we will give you more time to solve it. The deadline will be a week after the last lesson of the course. You will start to work on it before the end of the course, and particularly during the last lesson, so you will have a lot of time to ask questions and to receive help from us. We even give you an extra opportunity. Wherever you have a project you want to realize in Mathematica, even related to another course, you can communicate it to us, and we will evaluate whether it is a good project to be presented as a personal last assignment, instead of one of the project in the list.

    The final mark is dominated by the result of the last assignment.Criteria for the final mark are:Effective use of Mathematica (so not pseudo Python, Fortran or C)Level of the solved physics problem Directness and clarity of the codeReadability of the work (documentation)Common sense (no useless repetition, useless limitation, unused generalizations)Originality (in the subject or in the approach, or both. no epsilon deviations of given examples, no copies from other sources)

    Inspection of assessed work

    Contact the course coordinator to make an appointment for inspection.

    After every session feedback will be given on handin work. The questions, the answers and the feedback will be available at all times.

    Assignments

    During the first two days of the course (first week), every student will work by himself/herself. This training period will help us to have an idea about how you are starting to work and to take confidence in Mathematica environment.After this training period, you can work in couples. It is not possible to work in groups of more than 2 people.The first two assignment have to be presented in a personal report, all the other in a report per couple.

    Fraud and plagiarism

    The 'Regulations governing fraud and plagiarism for UvA students' applies to this course. This will be monitored carefully. Upon suspicion of fraud or plagiarism the Examinations Board of the programme will be informed. For the 'Regulations governing fraud and plagiarism for UvA students' see: www.student.uva.nl

    Course structure

    session 1 Notebooks, Lists, Plots

    session 2 Pure function, Map and Apply, avoid loops

    session 3 Rules, Patterns

    session 4 ODEs, PDEs, precision

    session 5 Constants, units, entities

    session 6 Importing and processing data

    session 7 Combining functions and data

    Timetable

    The schedule for this course is published on DataNose.

    Additional information

    The course will be given twice: the courses in January and in June are identical and only one should be attended.

    Contact information

    Coordinator

    • prof. dr. H.B. van Linden van den Heuvell