Foundations and Exercises
Global Center for Science and Engineering, Waseda University
cd materials
git pull
050/5th.qmd |
slides — logistics and assignments |
050/linear-equations-handout.qmd |
📘 shared handout for Lectures 5 and 6 |
050/linear-equations-handout.html |
rendered shared handout |
Repository: same as Ex 5.1 | Submit: linear-equations-handout.qmd (your edited copy) | Deadline: May 21 (Thu), 23:59 JST
While studying the shared Lectures 5–6 handout, insert at least 3 Q&A blocks of your own using the protocol in AI_TUTOR.md.
For Ex 5.0, focus on Sections 1–8.
Repository: Ex 5 — GitHub Classroom | Edit: ex5-1.qmd | Deadline: May 21 (Thu), 23:59 JST
Your tasks are:
solve vs invRepository: same as Ex 5.1 | Edit: ex5-2.qmd | Deadline: May 21 (Thu), 23:59 JST
Using the matrices from Ex 5.1, compare numpy.linalg.solve(A, b) and numpy.linalg.inv(A) @ b in terms of:
Optional extension: investigate scipy.linalg.solve(A, b, assume_a="gen"), including how the assume_a keyword argument lets SciPy use extra matrix structure such as symmetric positive definiteness.
Repository: same as Ex 5.1 | Edit: ex5-3.qmd | Deadline: May 21 (Thu), 23:59 JST
Implement two stationary iterative methods for solving \(Ax=b\).
At this point in the course, you are not expected to give a convergence analysis. The goal is to understand how the Jacobi and Gauss-Seidel updates work, run them on prepared examples, and observe when their behavior is similar or different.
In this report, you will:
Accept the Ex 5 GitHub Classroom link when announced.
050/linear-equations-handout.qmd