QUESTION 3 [40 MARKS]
(a) Consider the following data for bluefish harvesting (in Ib) for the years shown.
Year
Blue Fish
1940
15,000
1945
150,000
1950
250,000
1955
275,000
1960
270,000
1965
280,000
Using 1940 as the base year represented by x = 0 for numerical convenience, construct a
SINGLE TERM MODEL for the fish harvesting and hence predict the weight y (Ib) of the fish
harvested in 2020. HINT: Employ the least squares fit of the model form logy = mx + b for
your procedure, where log is to base 10.
[14]
(b) Consider the following table of data:
X
1
2.3
a5
4.5
6.5
7.0
y
3.5
3.2
5.5
6.2
4.5
72
(i)
Estimate the coefficients of the straight line y = ax + b such that the sum of the
squared deviations of the data points and the line is minimised.
(ii)
State the general normal equations arising from the use of least squares criterion
for your answer in (i) and hence obtain the normal equations from your data.
(iii)
State the MATLAB commands for obtain the parameters q and b.
(iv) If the largest absolute deviations for the Chebyshev’s criterion and that of the
Least Squares criterion are given respectively by Cyqgx and dmgx, define them and
then compute their values including their least bound D to express their
relationship for the above data and the model line.
[26]
QUESTION 4 [30 MARKS]
(a)
A sewage treatment plant processes raw sewage to produce usable fertilizer and clean
water by removing all other contaminants. The process is such that each other 15% of
remaining contaminants in a processing tank are removed.
i. What percentage of the sewage would remain after half a day?
ii. How long would it take to lower the amount of sewage by half?
iii. | How long until the level of sewage is down to 12% of the original level?
[12]
(b)
Consider an annuity where a savings account pays a monthly interest of 1% on the
amount present and the investor is allowed to withdraw a fixed amount of NS$1000
monthly until the account is depleted. What is the solution of the dynamical system