• Keine Ergebnisse gefunden

Does the method converge to the correct solution for any right hand side band any starting vector x0? Exercise 3: Prove Theorem 1.5

N/A
N/A
Protected

Academic year: 2022

Aktie "Does the method converge to the correct solution for any right hand side band any starting vector x0? Exercise 3: Prove Theorem 1.5"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

MATHEMATICALINSTITUTE

PROF. DR. CHRISTIANEHELZEL

DAVIDKERKMANN

APRIL23RD2020

1 2 3 4 Σ

NAME: MAT-NR.:

Numerical Methods for Data Science – Exercise Sheet 1

Exercise 1: Prove Lemma 1.1.

Exercise 2: Consider the matrix Tn from section 1.1.1. We want to apply Jacobi’s method on the linear system Tnx=b. Derive the iteration matrixGand calculate its 1-norm and ∞-norm. Does the method converge to the correct solution for any right hand side band any starting vector x0? Exercise 3: Prove Theorem 1.5. You can work out the proof in J. Demmel’s book, page 280.

Exercise 4: Programming exercise

Choose one between Jacobi’s method, Gauss-Seidel and SOR.

(a) Implement the chosen algorithm using Python by writing a function that receives the left hand side A, the right hand side b of a linear system of equations Ax =b and a tolerance as input parameters and returns the resulting iteration once the change kxk+1 −xkk is smaller than the given tolerance. If you choose the SOR method, you will need to add an additional input parameter w, the relaxation parameter.

(b) Change your function so that it returns all iterations. Plot the error against the number of iterations similar to as was done in the lecture. Compare the plots for a random matrix A ∈ R1600×1600 and the matrixT1600that arises from the discretisation of the one-dimensional Poisson problem. If you use the SOR method, you can chose w. State your observations.

Submit until May 7th 2020, 2:00 pm in the ILIAS.

Review in the exercise course on May 8th 2020.

Referenzen

ÄHNLICHE DOKUMENTE

Below, we discuss the 33 endemic species reported from at least one of three highland forest areas of documented herpetofaunal endemism in the greater Cordillera Nom- bre

The article “A Surge in Growth for a New Kind of Online Courses” (Finder, 2013) tries to connect the emergence of MOOCs with older attempts of online education to conclude that

The preceding reasoning leads me to conclude that for i = 1,..., n , the w i ′ income is the lowest possible level of income which guarantees, first, that the relative

The functional organization of one level of the cortex is governed by the interplay of earli- er and later representational stages of the sensory processing stream.. In mammals,

Il nuovo sistema (GGS) propone, in modo peculiare, alcuni escamotage in ter- mini di flessibilità tesi alla valorizzazio- ne della persona, nonché nuovi prodot- ti finanziari,

Initial total assets and current growth in total assets are made up from the same substance and therefore the explanation is the same as above. As to the other proxies for

The approximate and/or exact solutions of the generalized Klein-Gordon- and sine-Gordon-type equations are obtained. We introduce a new type of initial conditions to extend the class

The purpose of the presented paper is to extend the class of solvable Klein-Gordon- and sine-Gordon-type equations by introducing the new type of initial con- ditions.. We apply