btech-ice-3-sem-numerical-methods-and-programming-2010
btech-ice-3-sem-numerical-methods-and-programming-2010
GROUP – A
( Multiple Choice Type Questions )
a) 7 b) 4
c) 8 d) 6.
a) 0·0025% b) 25%
c) 0·00025% d) 0·25%
a) unalloc( ) b) free( )
c) dealloc( ) d) dropmem( ).
a) cout b) cin
c) ++ d) ::
vii) Which one of the following will read a character from the
keyboard and will store in the variable c ?
a) c=getc( ); b) getc(&c);
c) getchar(&c); d) c=getchar( );
c) "3 f ( x ) = 2 d) "4 f ( x ) = 0 .
! !
3102 2
! !
CS/B.Tech (IT,ECE,EEE,ICE)/SEM-3/M(CS)-312/2010-11
approximated by
!
a) line segment b) parabola
interpolation function f ( x ) is
! !
a) x 2 " 3x + 12 b) x 2 " 5x
!
c) x 3 " x 2 " 5x d) x 2 " 5x + 12 .
! !
xi) Runge-Kutta formula has a truncation error which is of
! !
the order of
a) h2 b) h3
c) h4 d) h5.
! 1 !
xii) If f ( x ) = 2 , then the dividend difference f (a, b) is
x
! !
a+b
a) 2
(ab) !
!
a+b
b) " 2
(ab)
!
1
c)
a " b2
2
! 1 1
d) 2
" 2.
a b
!
GROUP – B
( Short Answer Type Questions )
Answer any three of the following. 3 × 5 = 15
x ( in degree ) 15 20 25 30 35 40
3. Find the positive real root of x 3 " x 2 " 1 = 0 using the bisection
method of 4 iterations.
2x + y + z = 0
3x + 2y + 3z = 18
x + 4y + 9z = 16
3102 4
CS/B.Tech (IT,ECE,EEE,ICE)/SEM-3/M(CS)-312/2010-11
GROUP – C
( Long Answer Type Questions )
Answer any three of the following. 3 × 15 = 45
system of equations :
x + 3y + z = 9
x + 4y + 2z = 3
x + 2y – 3z = 6. 7+8
functions ?
2
b) Write a C program to integrate # (4x " 3x ) dx , where
h = 0·25. ! 7+8
dy / dx = 1 + y2 .
f ( 1 ) = 2, f ( 2 ) = 4, f ( 3 ) = 8, f ( 4 ) = 16 and
f ( 7 ) = 128.
places. ! 5+5+5
3102 6
CS/B.Tech (IT,ECE,EEE,ICE)/SEM-3/M(CS)-312/2010-11
10x + 2y + z = 9
2x + 20y – 2z = – 44
– 2x + 3y + 10z = 22
by Gauss-Seidel method.
dy
= 2y + 3e x , y(0) = 0 . 8+7
dx