(i}
State the normal equations for determining the regression coefficients a11 a2
and a3 of the polynomial f (x) for fitting a set of data.
(6 Marks}
(ii) Consider the following data
X
1.2
1.5 2.0 2.6 3.2 4.5 5.2 5.7 6.0 6.8
y
1.1
1.3
1.6
2.0
3.4
4.1
3.2
4.5
2.5
5.2
•
Obtain the normal equations for f(x) defined by (a) above using the above data.
(43 Marks}
•
State the 3-line MATLAB commands for solving the system of three equations
(without determining the values of the regression coefficients}.
(6 Marks)
QUESTION 3 [40 MARKS]
(a) A small-scale vocational business firm produces two farming implements: hoes and
shovels and realises a net unit profit of N$125 per hoe and N$140 per shovel. Assume
that the firm has up to 250 square metres of iron sheet and 200 metres of wood length
to devote to a small farming project plus a signed contract of supplying 10 hoes and 15
shovels to a family farm during the period of the project. Moreover, assume that it
requires 2 square metres of iron and 0.65 metre of wood to fabricate a hoe and 3 square
metres of iron and 0.85 metre of wood to produce a shovel. Formulate and solve the
model for maximising the firm's profits for hoes and shovels.
(20 Marks}
(b} (i} Define post-optimality analysis for linear optimisation problems
(5 Marks}
(ii} Discuss the analysis for change in the firm's profits on hoes, showing all
expressions to support your conclusion.
(15 Marks}
QUESTION 4 [40 MARKS]
(a} A spring with a mass of 2kg has natural length 0.5m and a force of 25.6N is required to
maintain it stretched to a length of 0.7m and then released with initial velocity 0.
Formulate an appropriate model equation and solve to obtain the expression for the
position of the mass at any time t, stating all physical laws to support the fundamental
equations and associated concepts of your model and its solution before using the given
data.
(25 Marks)
(b) Then suppose that the mass-spring system in (a) is immersed in a fluid with damping
= constant c 40. Stating the general model differential equations for the damped
system, find the position of the mass at any time t if it starts from the equilibrium
position and is given a push to start it with an initial velocity of 0.6m/s.
(15 Marks)
END OF EXAMINATION
TOTAL MARKS:288 CONVERTTO 100%
Page 3 of 3