Solutions to Assignment 1
Question 1 (4 marks), p.14, 1(b)(d)
(b), Let f (x) = (x 2)2 ln(x), obviously f (x) continuous on [1, 2] and [e, 4],
f (1)
f (2)
f (e)
f (4)
=
=
=
=
1,
0.6931,
0.4841,
2.6137,
MATH 3241
Suggested solutions to Assignment 3
Q. 1) (3 marks)
Solve the following system using Gaussian scaled pivoting and three-digit chopping
3.3330x1 + 15920x2 + 10.333x3 = 7953
2.2220x1 + 16.710x
Suggested Solutions to Assignment 2
Note: Question 5 should be answered by computer, others can be
answered manually or by computer.
Question 1, p.54 6(d) (a)
(1) For the interval [0, 0.5], using the
Suggested Solutions to Assignment 1
Question 1 (4 marks), p.14, 1(a)(c)
(a)
f (x) = x cos x 2x2 + 3x 1 is continuous on [0.2, 0.3] with f (0.2) = 0.2840
and f (0.3) = 0.0066, the Intermediate Value Th
Solutions to Assignment 2
Question 1 (4 marks)
p54, No. 6(d)
This is the Bisection Method.
Input the function F(x) in terms of x
For example: cos(x)
x+1-2*sin(pi*x)
Input endpoints A < B on separate l
MATH 3241
Suggested solution to Assignment 2
1) (4 marks)
pg. 54. 6) c)
Use the Bisection method to find p4 for solving x2 4x+lnx=0 for 1 x 2 and 2 x 4
Table 1: The Bisection method for x2 4x+lnx=0 on