Summer 2016

Lecturer: | G. Kanschat |
---|---|

Assistants: | D. Beigel, S. Meggendorfer, P. Siehr |

Class data: | LSF, MÜSLI |

Lectures: |
Tue 14-16h, Mathematikon, HS Thu 14-16h, Mathematikon, HS |

Tutorials: |
Tue 11-13h, Mathematikon, Seminarraum 11 (engl) Wed 14-16h, INF 288 HS3 (german) Wed 18-20h, Mathematikon, Seminarraum C (engl) |

- The make-up exam will take place
**Wednesday, October 5, 2016 at 9:00 s.t.**in INF 252, Hörsaal Ost (see also below). - A mind map of class contents highlighting some connections between topics.

- Exercise Sheet 1 (28.04.)
- Exercise Sheet 2 (04.05.) - There has been a change: You can also hand in your solutions in Room 1/402 (Secretary of Prof. Kanschat) and not in Room 1/230.
- Exercise Sheet 3 (12.05.) Note that Exercise 3.1 has been corrected
- Exercise Sheet 4 (19.05.)
- Exercise Sheet 5 (26.05.)
- Exercise Sheet 6 (02.06.)
- Exercise Sheet 7 (09.06.) Note that Exercise 7.3c has been corrected.
- Exercise Sheet 8 ---
- Exercise Sheet 9 (23.06.)
- Exercise Sheet 10 / Programming Exercise Sheet 4 (30.06.)
- Exercise Sheet 11 (07.07.)
- Exercise Sheet 12 (14.07.)
- Exercise Sheet 13 ---

- Programming Exercise Sheet 1 (19.05.)

C++: ex01_example.cc

Matlab: main.m rhs.m exp_euler.m

Solution:

The following code is not well-commented. It works and does the job but it is definitively not the best solution.

C++: main.cc

Matlab: main.m (for EE), lotka_volterra.m , expl_euler.m , main_rk.m (for RK), rk_general.m . - Programming Exercise Sheet 2 (02.06.)

rk_general.m - Programming Exercise Sheet 3 (23.06.)

- Exercise Sheet 10 / Programming Exercise Sheet 4 (30.06.)
- Programming Exercise Sheet 5 (14.07.)

**Remarks:**

- Exercise 1.4: The lemma is independent of the sign of w(t) and b(t).
- Programming Exercise 1.1c) - Hint: What happens if you use n=1000?
- Exercise 6.2: It should be θ∈[0,1/2).
- Exercise P3.1: A=(-1)*m²*[-1 2 -1].
- Since the lecture (23.06.16) was cancelled, there is a smaller exercise 10, with one theoretical and one programming exercise

Lecture notes, which will be updated during the semester.

Further reading:

- E. Haier, S. Norsett, G. Wanner: Solving Ordinary Differential Equations I and II, Springer
- Stoer, Bulirsch: Introduction to Numerical Analysis, Springer
- R. Freund, R. Hoppe: Stoer/Bulirsch - Numerische Mathematik 2, Springer
- P. Deuflhard, F. Bornemann: Numerische Mathematik II, de Gruyter
- R. Rannacher: Skript Numerik I (German)

We will prepare weekly homework assignments. The purpose of these assigments is training the subjects learned in class and developing an understanding for the taught concepts. The assigments are essential for acquiring the competences taught in the class and tested in the final exam.

The homework assignments should be prepared in small groups discussing the steps of the solution and agreeing on the written version handed in to the tutors. The groups can change over the semester, but students are advised to seek some continuity in their own interest. The written assignment has to be well structured and documented, a simple list of formulas is not sufficient to be reviewed. Homework assignments can be prepared in English or German

Theoretical homework will be evaluated according to completeness and mathematical correctness. The assignments will be returned with comments of the tutors. There will be no points given and accumulated over the semester.

Programming homework can be handed in in any widespread programming language. Programming advice will only be given for C++ and Matlab/Octave, possibly Python. Programs have to be documented and must be handed in with proof of function. Technical details wil be discussed with the tutors.

There have been several questions about the programming exercises. In the following we provide some informations about two programming languages: MATLAB / GNU Octave and C++. You can use any other language, but we won't provide support.

MATLAB is a commercial software used by many companies. A big advantage is, that MATLAB is very easy to learn.
You can get MATLAB from the URZ for free here.
Also it is installed in most Computer Pools. You can find a list of the pools here .

GNU Octave is the free equivalent to Matlab, which is in most cases compatible to MATLAB Code. Usually it is installed on each linux computer,
if not then check your package manager. Or download it directly from the Webpage.

I gave an introduction for first-term students in the "Vorkurs". The course was in German - you can find the slides here .
(The example-code for max(a,b,c) wrong.)

If you find a good tutorial in English, then please tell us the url, sothat we can put it on this webpage. This tutorial is "ok".

C++ is one of the most commonly used programming languages. If you are interested in numerical analysis for your studies (bachelor / master thesis) you eventually learn to programm in C++. Here you can find tutorials in English 1 , English 2 and German.

- The written make-up exam will take place
**Wednesday, October 5, 2016 at 9:00 s.t. in INF 252, Hörsaal Ost (lecture hall east)**. - The make-up exam is for those students who had a (medical) excuse for the final exam or failed the final exam.
- The written final exam will take place
**Friday, July 29, 2016 at 14:00 in INF 400 (Kopfklinik), HS (lecture hall)** - Optionally, the final exam can be replaced by the programming exam to be handed in by July 26th, 12 noon: Programming exam
- You are allowed to bring one sheet of paper (DIN A4), individually designed on both sides.
- There is no need for registration, just come to the exam.
- The questions will be in English, students can prepare their answers either in English or in German.

For the written exam: