Documente Academic
Documente Profesional
Documente Cultură
Instruction:
1.
2.
3.
4.
Marking Scheme
1.
Knowledge 90 marks
2.
Q1
(b)
Estimate the root of nonlinear equation in part (a) using bisection method. Apply
stopping criteria bi ai 0.0050.
(15 marks)
Q2
A florist sells roses, tulips and carnations. Each rose can be sold for a profit of RM4, each
tulip for a profit of RM7 and each carnation for a profit of RM9. In March 2015, a total
of 9500 flowers was sold, and the total sales of RM71550 was recorded. The number of
tulips sold is as twice as the number of roses.
The problem is to determine how many roses, tulips and carnations have been sold in
March 2014.
(a)
Derive all the related equations and write the equations in the matrix form.
(6 marks)
(b)
(ii)
(7 marks)
(c)
By using dev C++, develop a user-friendly program for Gauss Seidel method.
Subsequently, verify your answer in part (b)(ii) with the developed program.
(12 marks)
Q3
Given f ( x) e x .
(a)
0.25
0.75
f ( x) e x
(2 marks)
(b)
(c)
If (0.5,0.607) is added into the data above, find f (0.4) by using newton's divided
difference method.
(10 marks)
Q4
f '(2.2) using
(a)
(b)
(c)
(d)
(e)
(f)