Aufgabe P.1.4 (Lineare Algebra)
Aufgabe P.1.4.(a)
> | with(linalg):vector |
Warning, the protected names norm and trace have been redefined and unprotected
> | A:=matrix(3,3,[[1, 2, 1],[3, 2, 6],[1, -2, 4]]); b:=matrix(3,1,[1,5,3]); |
> | t:='t';x:=linsolve(A,b); |
Probe:
> | evalm(A &* x - b); |
Stimmt!
Aufgabe P.1.4.(b)
> | E:=Matrix(3,3,shape=identity); |
> | det((A-E) &* (A-E)); |
> |