Vous êtes sur la page 1sur 4

CONFIDENTIAL 1112I/BUM2313

1


FACULTY OF INDUSTRIAL
SCIENCES & TECHNOLOGY
SUBJECT: NUMERICAL METHODS/
ENGINEERING MATHEMATICS 3
MARKS:
30
CODE: BUM2313 TOPIC: CHAPTER 1 - 3

ASSESSMENT:
TEST
NO: 1 DUE/DURATION:
55 MINUTES

SAMPLE ANSWER SCHEME


INSTRUCTION: ALL calculation must be done in FOUR decimal places.
PART A: Chose ONLY ONE question.


(a) Use false-position method to find the zero of


on the interval [3,5] with stopping criterion

.
(10 Marks)
SOLUTION:
a b f(a) f(b) c f(c) eps_a
3 5 17 -13 4.1333 17.0907
4.1333 5.0000 17.0907 -13.0000 4.6256 4.1058 10.6418

First iteration:
(3) 17
( 1)
(5) 13
(5)(3 5) ( 13)( 2)
5 5 4.1333 ( 1/ 1/)
(3) (5) (17) ( 13)
(3) 17.0907 ( 1/)
(3) (4.1333) 0, (M1/) set 4.1333. Now, [4.1333,5]--------(B1)
r
l r
f
A
f
f
x M A
f f
f M
f f x x
=
`
=
)

= = =

=
> = =


Second iteration:
(5)(4.1333 5) ( 13)( 0.8667)
5 5 4.6256 ( 1/ 1/)
(4.1333) (5) (17.0907) ( 13)
(4.6256) 4.1058
(4.1333) (4.6256) 0, set 4.6256.
4.6256 4.1333
100% 10.6429%. ( 1/)
4.6256
Stop iterati
r
l r
a
f
x M A
f f
f
f f x x
M

= = =

=
> = =

e = =
on since 10.6429% 11%.The zero of ( ) is 4.6256.(A1)
s
f x <e =

CONFIDENTIAL 1112I/BUM2313


2

(b) Use Secant Method to estimate the root of
2
1
( )
x
f x x
e
= .
Start with initial estimates
1
0 x

= and
0
1 x = . Perform the computation for is less than
a
c
15%
s
c = .
(10 Marks)
SOLUTION:
Iteration

a
c
0 1 -0.6321 -
1 0.61270 0.1665 63.212%
2 0.6934 0.0191 11.6383%
O iteration:
------------------(B1)
First iteration:

-----------------(B1)

--------(M1)(A1)
-------------------(M1/)

Second iteration:

--------(A1/)

--------(M1/)(A1/)

-------(M1)

Since
, a s
e <e stop the computation. The root of f(x) is 0.6934 (A1)




) (root x
i
) (
i
x f
( ) 1 , 0
1 1
= =
i i
x f x
( ) 6321 . 0 , 1 = =
i i
x f x
61270 . 0
) 6321 . 0 ( 1
) 1 0 ( ) 6321 . 0 (
1
1
=


=
+ i
x
% 2120 . 63 100
61270 . 0
1 61270 . 0
=

=
a
c
6934 . 0
1665 . 0 ) 6321 . 0 (
) 61270 . 0 1 ( ) 1665 . 0 (
61270 . 0
1
=


=
+ i
x
% 6383 . 11 100
6934 . 0
61270 . 0 6934 . 0
=

=
a
c
( ) 6321 . 0 , 1
1 1
= =
i i
x f x
( ) 1665 . 0 , 61270 . 0 = =
i i
x f x
( ) 6321 . 0 , 1
0 0
= = x f x
CONFIDENTIAL 1112I/BUM2313


3

PART B:

Kirchhoffs voltage law says that the sum of the voltage drops around any closed path in the
network in a given direction is zero. The following linear system of equations obtained when this
principle is applied to the circuit:
( )
( )
( )
1 3 4 1 3 2 4 3 1
3 1 2 3 5 2 5 3 2
4 1 5 2 4 5 6 3
0
R R R i R i R i e
R i R R R i R i e
R i R i R R R i
+ + + + =
+ + + =
+ + + =

Solve for the current
1 2 3
, and i i i using Nave gauss elimination as LU factorization if given
1 2 3 4 5 6 1 2
1, 0.75, 3, 2, 5, 4, 12 and 21.5. R R R R R R e e = = = = = = = =

(20 Marks)


SOLUTION:


1
2
3
6 3 2 12
3 8.75 -5 21.5
2 -5 11 0
i
i
i
( ( (
( ( (
=
( ( (
( ( (


-------------------------------Finding the LU Decomposition-------------------------
2 1
3 1
3
(M1/)
6
2
(M1/)
6
6 3 2 6 3 2
3 8.75 -5 0 7.25 -6 (A1/)
2 -5 11 0 -6 10.333
R R
R R
| |
+
|
\ .
| |
+
|
\ .
(
(

(
(

3 2
6
(M1/)
7.25
6 3 2
0 7.25 -6
(A1/) 0 0 5.3678 (A1/)
R R
| |
+
|
\ .
( (
( (

( (
( (


1 0 0 6 3 2
0.5 1 0 (M1/) 0 7.25 -6
0.3333 -0.8276 1 0 0 5.3678
L U
( (
( (
= =
( (
( (


------------------------------- Forward Substitution---------------------------------
1
2
3
12 M1/A1/
15.5 M1/A1/
8.8276 M1/A1/
d
d
d
( (

( (
=
`
( (

( (
)



B1
CONFIDENTIAL 1112I/BUM2313


4

-----------------------------------Back Substitution------------------------------------
1
2
3
-0.2976 M1/A1
3.4989 M1/A1
1.6445 M1/A1
i
i
i
( (

( (
=
`
( (

( (
)





































-END OF QUESTION PAPER-

Vous aimerez peut-être aussi