Due: Mar. 3
(10 pts) Solve the linear system
x1 + 3 x2 + 2 x3 =
2x1 5x2 3x3 = 3
3x1 + 11x2 + 10x3 = 12
using the process developed in class (dont do any row swapping). In particular do the steps below (show
a) Compute the LU fact
Due: Apr. 7
For this assignment you will run a number of dierent Monte Carlo simulations. Since random number
generators output numbers in the range [0, 1), these often need to be mapped into a dierent interval [a, b].
You can use the transf
Due: Mar. 14
In this lab, we will examine the solution of linear systems using the LAPACK library.
The LAPACK Library
The LAPACK library is a collection of routines for more advanced problems in linear algebra such as solving
Due: Mar. 7
In this lab, we will examine the LU factorization and some other terminology in solving linear systems.
Recall that a permutation matrix P is an identity matrix with the rows (or columns) swapped. A permuta
Due: March 5
In this lab, we will examine some basic concepts in using MATLAB to solve linear systems of equations (i.e.
solve Ax = b for the vector x)
Index of Important MATLAB Commands
Here is a list of operations that will be needed in
Due: Feb. 28
This assignment will require a formal technical report.
The matrix-vector product is written symbolically as
y = Ax
where A is an n m matrix, x is a column vector of length m and y is a column vector of l
Due: Feb 21
In this lab, you will perform some simple timing experiments on the festivus cluster. In order to obtain accurate
timings, you will need to follow the guidelines given in class, in particular, you will need to run your programs o
Due: Feb 14
There is a shell program to start this lab that needs to be copied into your working directory. You should create a
directory for this lab. Change into this directory, then type
cp /export/CLASSES/CPS304/LAB2/* .
the * at the e
Fitting Power Law Correlations in MATLAB
One of the most frequent types of correlation in the sciences is the power law correlation. Two variables t
and n are said to obey a power law correlation if the relationship between them can be expres
Summary of Necessary Mathematical Quantities
1) General properties of norms
A norm is a generalization of the concept of absolute value and as such, it should obey the same
types of relations as absolute value. In order to be a norm, an operation must sat
Due: Apr. 4
You may not discuss this project with anyone but me.
The data les needed for this project are located in the directory
You should copy all of the les in this directory into a working directory
Due: April 2
The equation that describes a falling point mass with a drag force that is proportional to the velocity is
m v (t) = mg k v (t)
where m is the mass of the object, g is the acceleration of gravity and k is a constant that
Due: Jan. 31
1) Suppose you have the following vectors/matrices with indicated dimensions:
A(= 3 5);
B (= 6 10);
x(= 6 1);
C (= 2 10);
y (= 10 1);
D(= 5 5);
z (= 5 1).
What are the resulting dimensions of the following calculations:
Due: Feb. 11
In this lab, you will learn to do the following:
1) Log onto a UNIX based computer
2) Compile and run a FORTRAN 90 program
3) Transfer the output les from the UNIX computer to your desktop PC.
4) Plot t