You are on page 1of 4

COLLEGE OF ENGINEERING

PUTRAJAYA CAMPUS

TEST 1

SEMESTER 1, 2022 / 2023

PROGRAMME : Bachelor of Electrical & Electronics Engineering


(Hons.)
Bachelor of Electrical Power Engineering (Hons.)
Bachelor of Mechanical Engineering (Hons.)

SUBJECT CODE : COEB223 / COEB2014

SUBJECT : Numerical Methods for Engineers

DATE : 14 October 2022

DURATION : 1.5 Hour

INSTRUCTIONS TO CANDIDATES:

1. This paper contains FOUR (4) questions in THREE (3) pages. Answer ALL
questions.

2. Write all answers in the answer booklet provided. Show ALL your workings.

3. Write answer to EACH question on a new page.

4. Please use FOUR (4) decimal points for your answers whenever possible.

5. Formula booklet is provided. Students are not allowed to write anything in this
booklet.

THIS QUESTION PAPER CONSISTS OF THREE (3) PRINTED PAGES


INCLUDING THIS COVER PAGE

Page 1 of 4
COEB223 / COEB2014, Semester 1, 2022/2023

QUESTION 1 [10 MARKS]

Use the secant method to estimate the real root of f ( x )=e−x −1.1 x2 −2.5. Given the initial
guesses of x i−1=0.1 and x i=0.7 , iterate until the approximate percent relative error, |ε a| <
5%.

[10 Marks]
Answer: x= -1.7645, |ea| = 4.7889%

QUESTION 2 [10 MARKS]

Consider the following linear programming problem:

Maximize P( x , y , z)=3 x +5 y +7 z

subject to
3 x+ 3 y +2 z ≤ 300
1.5 x+ y+ 2.5 z ≤ 450
1.5 x+ 2 y +2 z ≤ 32

Use the simplex method to find the maximum value of P and the corresponding values of x, y
and z when P is maximum.

[10 Marks]
Answer:
X = 0
Y = 0
Z = 16
P = 112

Page 2 of 4
COEB223 / COEB2014, Semester 1, 2022/2023

QUESTION 3 [20 MARKS]

A group of engineers is conducting a study to install a wind turbine on a piece of land. Based
on their study, the following equation is found to represent the wind speed, W (m/s) as a
function of the wind turbine tower height, h (m):

200 h −2 h /30
W ( h) = .e
5+h

According to their calculations, a wind speed of 50 m/s is required for the wind turbine to
operate at its full capacity. Apply the Bisection method to help the engineers estimate the
height of wind turbine tower for it to operate at its full capacity. Perform THREE iterations
with the initial guesses of hl =¿ 1 m and hu =¿ 3 m. Calculate the approximate percent relative
error, |ε a| for every iteration.
[20 Marks]
Answer:hr=1.75, |ea|= 14.2857

QUESTION 4 [20 MARKS]

JJ Choco Sdn. Bhd. is a chocolate manufacturing company that produces three types of
chocolate, namely ChocoA, ChocoB and ChocoC. In order to produce the chocolate, it
requires milk, cocoa and sugar. Table 1 shows the amount needed for each type of chocolate.

Table 1: Ingredients needed for each type of chocolate


Milk Cocoa Sugar
Chocolate
(litre) (kilogram) (kilogram)
ChocoA 8 4 6
ChocoB 3 11 3
ChocoC 2 1 12

The total amount of milk, cocoa and sugar available daily are 220 litres, 330 kilograms and
360 kilograms, respectively. Determine the amount of each type of chocolate that can be
produced at the end of the day by using the Gauss Seidel method with relaxation factor of

Page 3 of 4
COEB223 / COEB2014, Semester 1, 2022/2023

0.95. Perform THREE iterations and calculate the approximate percent relative error of each
iteration. Assume all chocolate productions are shipped out at the end of the day.
[20 Marks]
Answer:

xnew |ea|
17.7702 47.0158
22.3448 12.8433
15.3255 25.1874

-END OF QUESTION PAPER-

Page 4 of 4

You might also like