You are on page 1of 3

EXERCISE 4

1. Two vectors are given:



= 4 +9 5 and = 3 +6 7

(a) Define u as a row vector and v as a column vector, and then use multiplication to
determine the dot product.
(b) Use the dot function and verify the result obtained in (a).
(c) Determine their cross product.

2. For the function =
2
+ 1
3
, calculate the value of y of the following values of x: - 2.5,
-2, - 1.5, - 1, 0, 0.5, 1, 1.5, 2, 2.5, 3.

3. Show that

lim

1 +
1

=

Do this by first creating a vector n that has elements: 1, 10, 100, 500, 1000, 2000, 4000 and
8000. Then create a new vector y in which each element is determined from the elements of n
by 1 +
1

.

4. Use MATAB to show that the sum of the infinite series

1
2 + 12 + 2
=0


Converges to ln 2. Do this by computing the sum for:
(a) n = 50
(b) n = 500
(c) n = 5000

5. Enter the following three matrices in MATLAB and show that




6. Consider the following two matrices:

=
1 0 1
2 3 4
1 6 7
and =
7 4 2
3 5 6
1 2 1


Using MATLAB, determine the following:
(a) A + B
(b) AB
(c) A
2

(d) A
(e) B
1

(f) BA
(g) A
2
+ B
2
AB
(h) determinant of A, determinant of B and determinant of AB.

7. Find the rank and inverse of the following matrices:


8. Determine the eigenvalues and eigenvectors of the following matrices using MATLAB.


9. Solve the following set of equations using MATLAB.


10. Solve the following set of equations using MATLAB.



11. Four forces act on bolt A as shown. Determine the resultant of the forces on the bolt.



12. A rectangular plate is supported by brackets at A and B and by a wire CD. Knowing that the
tension in the wire is 200 N, determine the moment about 80 mm A of the force exerted by
the wire on point C.



13. For the system shown in Figure, k
1
= 2k, k
2
= 3k, k
3
= 2k, k
4
= k and m
1
= 2m, m
2
= 3m and
m
3
= m. Determine the natural frequencies and the corresponding mode shapes. Take k = 100
N/m and m=1 kg.

You might also like