Homework 6  Due on Friday May. 29th, 2015 (due before
12:30 40 points)
The rst two exercises should be submitted online via Dropbox. Instructions of submission are on
the Catalyst webpage. For Exerci
AMATH 352 HW2 SOLUTION
SPRING 2015
Homework is worth 40 points (16 for programming part, 24 for written part).
Problems 3, 6, and 10 were graded.
Problem 1
% Homework 2, exercise 1
%
% Newtons method
Applied linear algebra and numerical analysis
AMATH 352  Spring 2015
Yuqi Wu
Department of Applied Mathematics
May 18th 2015
Oce hour this week
Oce hour on Wednesday May 20th will be moved to 2:00 t
Homework 7  Due on Wednesday June 3rd, 2015 (due before
12:30 40 points)
The programming part is due on 12:30 pm Friday June 5th.
The rst two exercises should be submitted online via Dropbox. Instruc
Homework 5  Due on Wednesday May. 20th, 2015 (due before
12:30 40 points)
The rst two exercises should be submitted online via Dropbox. Instructions of submission are on
the Catalyst webpage. For Exe
AMATH 352 HW4 SOLUTION
SPRING 2015
Homework is worth 40 points (16 for programming part, 24 for written part).
Problems 6, 8, and 9 were graded.
Problem 1
% Hw4 ex1
% implement Jacobi and GS method
%
Homework 4  Due on Friday May 1st, 2015 (due before 12:30
40 points)
The rst two exercises should be submitted online via Dropbox. Instructions of submission are on
the Catalyst webpage. For Exercis
AMATH 352 HW5 SOLUTION
SPRING 2015
Homework is worth 40 points (16 for programming part, 24 for written part).
Problems 3, 7, and 8 were graded.
Problem 1
% Hw5 ex1
% Yuqi Wu
% QR algorithms
clear all
Homework 3  Due on Apr. 24th , 2015 (due before 12:30 40
points)
The rst two exercises should be submitted online via Dropbox. Instructions of submission are on
the Catalyst webpage. For Exercise 1 a
Homework 2  Due on Apr. 17th, 2015 (due before 12:30 40
points)
The rst two exercises should be submitted online via Dropbox. Instructions of submission are on
the Catalyst webpage. For Exercise 1 an
AMATH 352 HW3 SOLUTION
SPRING 2015
Homework is worth 40 points (16 for programming part, 24 for written part).
Problems 5, 6, and 10 were graded.
Problem 1
% Homework 3, exercise 1
%
% implement Richa
Homework 1  Due on Apr. 10th, 2015 (due before 12:30 40
points)
The rst two exercises should be submitted online via Dropbox. Instructions of submission are on
the Catalyst webpage. For Exercise 1 an
Name:
Student number:
QUIZ 1
1. True of False
(a) x =
x1
x2
R2 , is the function x = x1  a norm?
ANS: False.
Because x = 0 does not guarantee that x = 0. Counter example,
0
2
=
0
0
0
2
= 0, but
Name:
Student number:
QUIZ 2
1. True of False
(a) If S1 and S2 are subspaces of Rn of the same dimension, then S1 = S2 .
1
0
ANS: False. Counter example span
= span
0
1
(b) If S = span(u1 , u2 , u1 +
Applied linear algebra and numerical analysis
AMATH 352  Spring 2015
Yuqi Wu
Department of Applied Mathematics
May 20th 2015
LU Factorization
Denition
A matrix A is regular if and only if it can be f
Applied linear algebra and numerical analysis
AMATH 352  Spring 2015
Yuqi Wu
Department of Applied Mathematics
May 22nd 2015
Homework 6
Homework 6 will be posted this afternoon
Due Friday May 29th
Applied linear algebra and numerical analysis
AMATH 352  Spring 2015
Yuqi Wu
Department of Applied Mathematics
May 27th 2015
Partial Pivoting
Denition
LU factorization with partial pivoting takes the
Applied linear algebra and numerical analysis
AMATH 352  Spring 2015
Yuqi Wu
Department of Applied Mathematics
May 29th 2015
Homework 7
Homework 7 will be posted this afternoon
Due Wednesday June 3
Applied linear algebra and numerical analysis
AMATH 352  Spring 2015
Yuqi Wu
Department of Applied Mathematics
June 1st 2015
Homework 7
Homework 7 will be posted this afternoon
Writtne part Due Wed
AMATH 352  Midterm Exam
Feb. 14th, 2014
Name:
Signature:
Show all your work! Details your answers. Closed book, no notes, no calculator, no phone.
1. (15 points) True or False, no explanation is requ
(b) TriLL:
CC) False
(cJ
ct
FxeN(4)
1
Hr
A
t
(cc
A
k
V
cm
p
4
*
A
N
N
S
c_
F
_4
N
A
A
IN
pF
1
>4
:3
v
V
\
(4
cm
4
IL
3


N
44
4
cm
.
t
F
4
A
jf\
5
N
4
A
jiA
4
I
N
4
A.
t
ci?
V
4
c4C
Y
F
_
_
_
_
_
_
_
_
AMATH 352

Final Exam
December 12th 2013
Name:
Signature:
Show all your work! I)etail
work! (losid book, no
your
notes. 110
o:alculator.
) I) points) True or false. iio flxplaliatiol
Name:
Student number:
QUIZ 3
1. True of False
(a) If A Rmn and rank(A) < n, then the linear system Ax = 0 has innity many
solutions.
ANS: True. Because rank(A) < n, then dim(N (A) >= 1. Therefore, the
AMATH 352  Midterm Exam
May. 8th, 2015
Name:
Signature:
Show all your work! Details your answers. Closed book, no notes, no calculator, no phone.
1. (15 points) True or False, no explanation is requi
%Hw6 ex1
% Yuqi Wu
clear all
% matrix A
n=100;
A = toeplitz([3 2 1 zeros(1,n3)],[3,2,1,zeros(1,n3)]);
% LU factorization
U = A; L = eye(n,n);
for k = 1: (n1)
for i= k+1:(min(k+2,n)
L(i,k) = U(i,k
Problem 3
ti
yi
1
1/5
3/4
4/13
1/2
1/2
(a) Find the straight line y = + (t
1/4
4/5
0
1
1/4
4/5
1/2
1/2
3/4
4/13
1
1/5
1) that best ts the data.
First we can set up the problem as a system of linea
%Hw6 ex1
% LU factorization of tridiagonal matrix,
clear all
% matrix A
n=100;
A = toeplitz([3 2 1 zeros(1,n3)],[3,2,1,zeros(1,n3)]);
% LU factorization
U = A;
L = eye(n,n);
for k = 1: n1
% fil