Docsity

Exercise Practice Problems on Computational Linear Algebra | MAT 3930, Lab Reports of Linear Algebra

Toggle sidebar
bg1
EXERCISES
This lab contains 3 regular problems and 1 bonus problem.
PROBLEM # 1
Assign the name x to the number (2)/3 and then find a decimal approximation
for the following:
5
21 x
and
xx tan*cos
.
PROBLEM # 2
Define A to be the 3 x 3 matrix with rows 5,3,13 and 0, -4,7 and 4,3,9. Define B to
be the 3 x 3 matrix with rows 1,6,2 and -2,0,-1 and 13,7,35.
Compute the following:
1. A*B
2. A.*B
Explain the difference between the operations in 1 and 2.
Define C to be a 3 by 2 matrix and D to be a 2 by 3 matrix. You choose the
elements. Compute the following:
3. C+D
4. C*D
Comment on the result obtained for 3 and 4 i.e. why does one of them give you
an error?
pf3

Partial preview of the text

Download Exercise Practice Problems on Computational Linear Algebra | MAT 3930 and more Lab Reports Linear Algebra in PDF only on Docsity!

EXERCISES

This lab contains 3 regular problems and 1 bonus problem.

PROBLEM # 1

Assign the name x to the number (2)/3 and then find a decimal approximation for the following: 21 x^5 and cos^ x^ ^ *tan^ x . PROBLEM # 2 Define A to be the 3 x 3 matrix with rows 5,3,13 and 0, -4,7 and 4,3,9. Define B to be the 3 x 3 matrix with rows 1,6,2 and -2,0,-1 and 13,7,35. Compute the following:

  1. A*B
  2. A.*B Explain the difference between the operations in 1 and 2. Define C to be a 3 by 2 matrix and D to be a 2 by 3 matrix. You choose the elements. Compute the following:
  3. C+D
  4. C*D Comment on the result obtained for 3 and 4 i.e. why does one of them give you an error?

PROBLEM # 3 (Darwin's earthworms)

In his earlier and more famous book, " The Origin of Species by

means of Natural Selection ", Charles Darwin showed how small

changes, when sufficiently abundant, may combine to momentous

effect. According to him it is the same with the action of earthworms.

The following problem on earthworms is motivated*^ by the book," The

Formation of Vegetable Mould, through the Action of Worms, with

Observations on their habbits ", written by Charles Darwin in 1881.

Earthworms are vital for the soil and Darwin made very clear their

importance, not just for the ecosystem, but as agents that bring about

the gradual burial of large objects, including those at archaeological

sites.

The number of earthworms found in a measured piece of land is a

useful piece of information and is actually immensely variable,

depending, for example, on soil conditions.

Now, suppose the number of earthworms in a measured piece of land is given by f ( x ) 12 x^2  15 x  40000  x^2  200 , where x is measured in acres. a) Find the number of earthworms for x = 0, 0.1, 2, 10, 100, 200 and 300 acres. b) Do you have to place any restriction on x so that f(x) is meaningful? Hint: Enter the function f as a separate m-file with the name f.m and find f(0), f(0.1), ..., f(300).

* Richard F.Burton, "Biology by numbers – An encouragement to

quantitative thinking ", Cambridge University Press, 1998.