%Question 1
t = 2;
X = hilb(t);
A1 = [];
while cond(X, inf) < 1e16
A1 = [A1, cond(X, inf)];
t = t + 1;
X = hilb(t);
end
A1 = A1.';
save('A1.dat', 'A1', '-ascii');
A2 = [];
for t = 2:11
z = ones(t, 1);
m = hilb(t);
p = m\z;
q = m*z;
X = z - m*p;
Y

University of Washington
AMATH 301 Winter 2016
Instructor: Dr. King-Fai Li
Week 2
Solving Systems of Linear Equations
Given a set of equations,
x1 x2 2
2 x1 5 x2 7
First check the determinant: (1)(-5) (-1)(2) = -3
The following is what you did in high sch

University of Washington
AMATH 301 Winter 2016
Instructor: Dr. King-Fai Li
Week 3
1. Fixed-point iteration
Purpose: Find the roots of F x 0
1. Rewrite F x 0 into the form of x G x . i.e. if x is a solution, so will be G x .
0
2. Make an initial guess of x

University of Washington
AMATH 301 Winter 2016
Instructor: Dr. King-Fai Li
Week5
Optimization
1-D example
f x x 4 10 x sin x 2
f = @(x) x.^4 + 10*x.*sin(x.^2);
x = linspace(-2,3,100);
plot(x,f(x);
[xmin,fmin]=fminbnd(f,-2,-1);
[xmin,fmin]=fminsearch(f,-1)

AMATH 423/523
1
Mathematical Analysis in Biology and Medicine
Winter, 2016
Introduction
1.1
The philosophy of the course
Probability is the logic of science1 ; statistics is a tool for making discoveries from data; and
dynamics is a language for narrating