M (CS) 312
M (CS) 312
htt
Roll No. : ………………………………………………………...
Invigilator's Signature : ……………………………………….
CS/B.Tech(OLD)/EEE,ICE,IT,ECE/SEM-3/M(CS)-312/2012-13
p:/
2012
NUMERICAL METHODS AND PROGRAMMING
Time Allotted : 3 Hours Full Marks : 70
/q
The figures in the margin indicate full marks.
Candidates are required to give their answers in their own words
pap
as far as practicable.
GROUP – A
( Multiple Choice Type Questions )
1. Choose the correct alternatives for any ten of the following :
er.
10 1 = 10
a) E=1+ b) E=1–
c) E = 1/ d) None of these.
1
ut .
dx
ii) By evaluating by a numerical integration
1 + x2
0
a) log e 2 b)
c) e d) log 10 2.
in
c) O( h3 ) d) O( h5 ) .
a) | a ii | | a ij |
j=1
i j
wb
b) | a ii | < | a ij |
j=1
i j
n
ut .
c) | a ii | > | a ij |
j=1
i j
a c.
d) | a ii | | a ij |.
j=1
i j
in
3103 (O) 2
CS/B.Tech(OLD)/EEE,ICE,IT,ECE/SEM-3/M(CS)-312/2012-13
{
p:/
char a, b ;
a = ‘b’ ;
/q
b=a;
printf( “b = %c\n”, b ) ;
pap
a) a b) b
d) none of these.
interpolation function f ( x ) is
a c.
a) f(x)=8–x b) f(x)=8+x
c) f ( x ) = x2 d) f ( x ) = x + x 2 + 8.
in
1
x) If f ( x ) = , the divided difference [ a, b, c ] is
x
htt
1 1
a) b)
a+b+c abc
1 1
c) 2 d) .
a + b2 a+b–c
p:/
dy
xi) If = x + y and y ( 1 ) = 0, then y ( 1.1 )
dx
a) x n = nx n – 1 b) x ( n ) = nx n + 1
er.
satisfy
wb
l l
a) | (x)|<1 b) | (x)|>1
l l
c) | (x)|=1 d) | ( x ) | = 2.
1
xiv) The inherent error for Simpson’s rd rule of
ut .
meanings )
a c.
nh 5 ll nh 5 ll
a) –
180
f (x0 ) b) –
140
f (x0 )
nh 3 ll
c) –
12
f (x0 ) d) none of these.
in
3103 (O) 4
CS/B.Tech(OLD)/EEE,ICE,IT,ECE/SEM-3/M(CS)-312/2012-13
a) h2 b) – 2h 2
c) 2h 2 d) none of these.
p:/
GROUP – B
( Short Answer Type Questions )
Answer any three of the following. 3 5 = 15
/q
2. From the following table find the values of f ( 12 ) by
Newton’s divided difference interpolation formula :
pap
x: 11 13 14 18 19 21
2x + y + z = 10
er.
3x + 2y + 3z = 18
x + 4y + 9z = 16.
wb
x: 0 1 2 3 4 5
f(x): 0 — 8 15 — 35
ut .
y = 0 when x = 0 at x = 0·2.
x 3 + 3x – 1 = 0 by Newton-Raphson formula.
7. Find y l ( x ), y ll ( x ), given
p:/
x: 0 1 2 3 4
f(x): 1 1 15 40 85
/q
GROUP – C
( Long Answer Type Questions )
Answer any three of the following. 3 15 = 45
pap
Marks : 30 – 40 40 – 50 50 – 60 60 – 70 70 – 80
er.
No. of Students : 31 42 51 35 31
f ( 8 ) and f ( 15 ), given :
X: 4 5 7 10 11 13
7+8
3103 (O) 6
CS/B.Tech(OLD)/EEE,ICE,IT,ECE/SEM-3/M(CS)-312/2012-13
x-axis, x = 1 and x = 9 :
p:/
X 1 2 3 4 5 6 7 8 9
n = 6.
x: –1 –2 2 4
a c.
f(x): –1 –9 11 69
convergence. 5+5+5
in
2x 1 + 3x 2 + 5x 3 = – 3
p:/
3x 1 + 2x 2 – 3x 3 = 6.
x + 5y – 3z = 18
pap
– 2x + 2y + 7z = 19.
x2
b) Find the value of log 2 1/3 from dx using
1 + x3
0
1
Simpson’s 3
rd rule with n = 4.
ut .
/2
3103 (O) 8