Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

TMC/TMF1874 MATHEMATICS FOR COMPUTING

ASSIGNMENT 1 (15%)

Instructions:

1. Find a partner and form a group of three students. Each group need to submit only
one set of answers.
2. You are required to answer ALL questions. To get the maximum marks, all workings
must be shown clearly in your answers.
3. Please submit to your groups lecturer. Deadline is 24 th March 2017 before 4pm. Late
submissions will NOT be accepted and will be given ZERO mark.

Question 1 [ 10 marks]

For which values of k does the system below

kx + z=1

x+ y+ z=1

x+ 2 y +(1+ k )z=2

have
(a) a unique solution
(b) no solution
(c) infinitely many solutions

Question 2 [11 marks]

Suppose the following figure represents a network of one-way roads, with arrows
indicating direction of traffic flow. The numbers of vehicles entering or leaving the
network, per hour, at nodes A, B, C, D are shown. Let w, x, y, z denote the number of
vehicles per hour passing through branches AB, BC, CD, AD, respectively. Assume the
network is in a steady state (equilibrium), meaning that no new vehicles appear within
the network, none or lost, and input must equal output at each node A, B, C, D.
A B
450
450 w 250

z x

350 350
y
D C
a) Write down the equilibrium equation for each node.
b) Translate part (a) into linear system.
c) Reduce part (b) using Gauss-Jordan elimination method.

HU SEMESTER 02 2016/2017
TMC/TMF1874 MATHEMATICS FOR COMPUTING

d) Is the system in part (c) consistent?


e) Give the general solution for the traffic flow.

Question 3 [ 6 marks]

Let A be the following matrix:

[ ]
1 1 1
A= 1 2 t
1 4 t2

a) Compute the determinant of A .

b) For what values of t is A invertible?

Question 4 [ 11 marks]

Nicki Minaj is trying to gain a few pounds of weight. She consulted a dietitian and her
dietitian arranges a special diet using three basic foods. The diet is to include exactly
340 units of protein, 180 units of fat, and 220 units of carbohydrates. The number of
units per ounce of each special ingredient for each of the foods is indicated in the table.
How many ounces of each food must be used to meet the diet requirements? Help Nicki
Minaj to solve this problem using Cramers rule.

Units per ounce


X Y Z
Protein 30 10 20
Fat 10 10 20
Carbohydrat 10 30 20
es

Question 5 [ 6 marks]

Find x , given that matrix B is singular.

HU SEMESTER 02 2016/2017
TMC/TMF1874 MATHEMATICS FOR COMPUTING

[ ]
4x 4 4
B= 2 2x 4
3 3 4x

Question 6 [ 16 marks]

Show that the matrix A is diagonalizable and find the diagonal matrix to which it is
similar. State the modal matrix of A as well.

[ ]
1 1 1
A= 0 2 1
0 0 1

HU SEMESTER 02 2016/2017

You might also like