You are on page 1of 3

Semester I 2012/2013 Kohort 1

UNIVERSITI TUN HUSSEIN ONN MALAYSIA BWM 21403 MATEMATIK IV GROUP ASSIGNMENT NO.2

Q1

Find the root of f ( x ) = x cos x x ln x that lies in the interval [0.7, 0.9] by using Bisection method. Iterate until f (ci ) < = 0.005 .

Q2

Organic Wave is a huge manufacturer of modern cosmetics for rejuvenate facial cream. In order to fulfill the industry quality requirement, the company takes three different ingredients A, B and C, to produce three different substance solutions - Sodium Hydroxide, Dimethicone Crosspolymer and Sodium Dehydroacetate . Ingredient A, B and C have to be dissolved in water separately before they react to form the cosmetics ingredients. Table Q2 below represents the amount of solution A, B and C needed with all units measured are in cubic centimeters: Table Q2
Volume of ingredient Ingredient A Ingredient B Ingredient C Total weight of substance solution

Substance solution

Sodium Hydroxide Dimethicone Crosspolymer Sodium Dehydroacetate

1.5 2.5 2.7

3.6 4.3 5.5

5.3 2.4 3.2

25.07 22.36 28.14

By assuming x1 = volume (in cubic centimeters) of the solution A, x2 = volume (in cubic centimeters) of the solution B and x3 = volume (in cubic centimeters) of the solution C, the above problem can be formulated as 1.5 x1 + 3.6 x2 + 5.3 x3 = 25.07 2.5 x1 + 4.3 x2 + 2.4 x3 = 22.36 2.7 x1 + 5.5 x2 + 3.2 x3 = 28.14 . Find the volumes (in cubic centimeters) of the solutions containing A, B, and C that being used in above problem, by using Doolittle factorization method.

This assignment is to be submitted on the fifth meeting (15 December 2012)

Semester I 2012/2013 Kohort 1

Answer: (TOTAL MARKS = 79) Q1 M1 apply Bisection method M6 calculate for each a i , ci , bi , f ( a i ) , f (ci ) and f (bi ) A36 calculate for each cell of a i , ci , bi , f ( ai ) , f (ci ) and f (bi )

i
0 1 2 3 4 5

ai

ci

bi

f (ai )

f (ci ) -0.019 0.086 0.034 0.006 -0.007 0

f (bi ) -0.235 -0.019 -0.019 -0.019 -0.019 -0.007

0.7 0.700 0.750 0.775 0.788 0.788

0.8 0.750 0.775 0.788 0.794 0.791

0.9 0.800 0.800 0.800 0.800 0.794

0.192 0.192 0.086 0.034 0.006 0.006

Since f (c5 ) = 0 < = 0.005 , therefore the root of f ( x) is 0.791 M1 stopping criteria, A1 final answer (45 marks)

Q2

The system of linear equations can be written in matrix form: 1.5 3.6 5.3 x1 25.07 2.5 4.3 2.4 x2 = 22.36 2.7 5.5 3.2 x 28.14 3 Step 1: From A = LU , solve for L and U . 1.5 3.6 5.3 1 0 0 d 2.5 4.3 2.4 = a 1 0 0 2.7 5.5 3.2 b c 1 0 A2 for each L and U e g 0 f d h = ad bd i e f ae + g af + h be + cg bf + ch + i

M1 matrix multiplication

Semester I 2012/2013 Kohort 1 Compare element by element: M1 comparing values d = 1.5 ad = 2.5 a = 1.667 bd = 2.7 b = 1.8 e = 3.6 ae + g = 4.3 g = 1.701 be + cg = 5.5 c = 0.576 f = 5.3 af + h = 2.4 h = 6.435 bf + ch + i = 3.2 i = 2.633

A9 correct answers for each a, b, c, d, e, f, g, h and i M6 method of finding a, b, c, g, h and I only 0 0 3.6 5.3 1 1.5 L = 1.667 1 0 and U = 0 1.701 6.435 . 1.8 0.576 1 0 0 2.633 M2 writing down in terms of A=LU Step 2 : From LY = b , solve for Y by forward substitution. 0 0 y1 25.07 1 1 0 y2 = 22.36 1.667 1.8 0.576 1 y 28.14 3 M2 substitution in LY=b 25.07 Y = 19.432 . 5.793 A3 correct answers for each y

Step 3 : From Ux = Y , solve for x by backward substitution. 3.6 5.3 x1 25.07 1.5 0 1.701 6.435 x2 = 19.432 0 0 2.633 x3 5.793 M2 substitution in Ux=Y 1.498 x = 3.101 . 2.200

A3 correct answers for each x

Therefore, Organic Wave has to use 1.498 cm 3 of ingredient A, 3.101 cm3 of ingredient B and 2.2 cm3 of ingredient C in order to form the substance solution as the cosmetics ingredient of rejuvenate facial cream. M3 giving answers in the point of application view (34 marks)

You might also like