0% found this document useful (0 votes)
23 views44 pages

Numerical Methods

The document is a model question paper for a Numerical Methods exam at Tribhuvan University, covering various topics such as root-finding methods, linear and non-linear equations, interpolation techniques, and numerical integration. It includes a series of questions that require students to apply different numerical methods to solve mathematical problems. The exam is structured to assess students' understanding of numerical techniques and their ability to implement algorithms and methods in practical scenarios.

Uploaded by

gkmkeu
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views44 pages

Numerical Methods

The document is a model question paper for a Numerical Methods exam at Tribhuvan University, covering various topics such as root-finding methods, linear and non-linear equations, interpolation techniques, and numerical integration. It includes a series of questions that require students to apply different numerical methods to solve mathematical problems. The exam is structured to assess students' understanding of numerical techniques and their ability to implement algorithms and methods in practical scenarios.

Uploaded by

gkmkeu
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Institute of Engineering, Tribhuvan University

Numerical Methods: Model Question Paper


(Time: 3 hours, Full Marks: 60)
1. Approximate a real root of the following non-linear equation correct to four decimal places using the secant
method. Explain how is the secant method different from the method of false position. [4+1]
𝑥
𝑒 + sin 𝑥 − 9 = 0

2. Solve the following system of non-linear equations using the Newton-Raphson Method for an accuracy of 2
decimal places using (3, -4) as initial approximations. [5]
3
𝑥 − 𝑦 = 50
𝑥 − 𝑦 3 = 75
OR
Write an algorithm to find a real root of a non-linear equation using the Bisection Method.

3. Solve the following system of linear equations using Do-Little’s LU decomposition method. [5]
7𝑥1 + 4𝑥2 − 𝑥3 = 20
8𝑥1 − 5𝑥2 + 4𝑥3 = 24
5𝑥1 + 4𝑥2 + 3𝑥3 = 28

4. Determine the dominant eigen value (correct to three decimal places) and corresponding eigen vector of the
following matrix using the power method. [5]
5 2 3
[2 4 6]
3 6 9
5. Estimate 𝑦(9) from the following data using Newton’s divided difference interpolation technique. [5]
𝑥 2 4 5 8 11 12
𝑦(𝑥) 5.4 5.3 5.9 4.1 4.3 5.6

6. Using the least square method, fit the following data to a logarithmic curve (𝑦 = 𝑎 log e (𝑥) + 𝑏) and hence
predict 𝑦(3.0). [4+1]

𝑥 0.2 0.6 1.0 1.4 1.8 2.2 2.6


𝑦(𝑥) 0.9 1.7 2.1 2.4 2.5 2.7 2.8

7. Evaluate the following integral using Gauss-Legendre 3-point formula and compare the result thus obtained
with exact solution. [4+2]
9
𝑥
∫ sin ( ) + cos(𝑥) + 5 d𝑥
3 2

8. Derive expressions for evaluating the first and second order derivatives from a set of tabulated data using
Newton’s Forward interpolation formula. [4]

9. Write a program in Python programming language with your own logic to solve an initial value problem
involving a first order ordinary differential equation for a sequence of equally spaced values of the
independent variable using the Runge-Kutta fourth order method and graphically visualize the numerical
solution thus obtained. [4+1]

10. Solve the following boundary value problem using finite difference approximation by dividing the boundary
interval into four sub-intervals. [5]
′′ ′
𝑦 + 2𝑦 − 3𝑦 = 2𝑥 subject to: 𝑦(0) = 3 and 𝑦(2) = 4

11. Solve the Laplace equation ∇2 𝑢 = 0 for a square mesh with the following conditions: [5]
0≤𝑥≤1 0≤𝑦≤1 Δ𝑥 = ℎ = 1/3 Δ𝑦 = 𝑘 = 1/3
𝑢(𝑥, 0) = 900𝑥 𝑢(0, 𝑦) = 600𝑦 𝑢(𝑥, 1) = 600(1 − 𝑥) 𝑢(1, 𝑦) = 900(1 − 𝑦)

12. Solve the one-dimensional heat equation 2𝑢𝑡 = 𝑢𝑥𝑥 for 0 ≤ 𝑡 ≤ 4 with 0 ≤ 𝑥 ≤ 5 taking ℎ = 1 using
Bendre-Schmidt method, given the following initial and boundary conditions: [5]
𝑢(𝑥, 0) = 𝑥 𝑒 𝑥 (5 − 𝑥)
𝑢(0, 𝑡) = 𝑢(5, 𝑡) = 0
':tlr

TRIBHWANUMVERSI'I'Y Exam. Reeular.(New Course)


INSTITUTE OF ENGINEERING LeVeI BE X'ulI Marks 60
Examination Control Division Prngrarnme BCE Pass Marks 24
2081Chaitra Year/Part fin Time I hrs.

Canriidate": r;re required to give the ir $w'tiers in ileir


Attempt 4llqzns{ions.
.4!! questio ns carry, equal mrsrks..
Assume strilsb Ie dafa i,l' necessary. LEBR&ffiY
7
l. Find a real root of e0'sx+3 * cos(0.4x) - 50 = 0 precise to 4 significant figures using
the bisection method.

Write Jacobian malrix for the following system of non-linear equations and use Newton-
Raphson method to approximate a solution correct to two decimal places taking
(xo, yo) = (Z,tr) as initiai guess values.
x3 -y'=8
x2+y3-6
Solve the following system of iinear equations using Do-Little's Factorizatiorymethod.

lz s +lfxl Iz+1
lr 4 sli"l=lzsl
[s 4 4)1,) Lrz ]
4. Find dominant eigen vaiue and corresponding vector of the given matrix using the power
method.
lz 4 rl
t4 2 |
[r t
I

-zl
5" Construct divided difl'erence iabie fiom the [Link] dala anil rise Newlon's divided
riif,ference interpchrtion technique to aoproximate y [9).

l;;f-o I 2 T-j .-)


"7
I 10
.\1
fTf,azlrtiz;; 72 5.7 7.44 1A
la.!-

6. lJsing the least square method, fit the foliowing data to a curve of the fcrm y = aebx"

l;Tr"?]1l I -l-lo I
Elr_rlilaFarlr 1204i-l
7. Evaluate the following integral using [Link] 3-point formula and compare the
result rvith exact value of the integlal.

[-
(."'ff) + s) a.

Derive trhe expressions to evaluate first aad second order derivatives from a set of
tabulaied data using Newton's fona,ard interpolati*n formula. Also derive the erpressions
f,or the initial point.

9. Write a python program tc solve an initiatr value problem involving a first order ordinary
differential equation using Runge-Kutta fourth order method. The prograrr should also
show the results graphically.

10. Lising hnite difference method, solve the foliowing boundary vaiue problern fcr three
inter"nal nodes.
y" - 5y'* 4y = 51, yl?'t - q, y(4) = 5
i 1. Solve the Lapiace equation u** * u,, = 0 f':r a square mesh with the following boundary
conditions using the finite difference method employing Gauss-seidal iteration method to
solve the equations.
0SxSt, CI{y<1,
Ax=Ay=h=U3,
u(x,0) = 360x, u(* 1) * 240(1 - x),
u(0,y) = 24AV, u(1,y) = 360(1 - y)
12. f)erive the recurrence relation for solving one dimeasional heat equation using Bender-
Schmidt rnethod and use it to solve the f,<:llowing problem for five time steps taking
Ax=h=L"
u1 = 0.5 u**, u(O,t) = u(4,t) = 0, u(>r,$) = 2x(4 * x)
TRtsHWAI{ UNIVERSITY Exam.
INSTITUTE OF ENGINEERING Level BB Full 80
Examination Control Division Programme Pass Marh I 32
BAS
2082 Baishakh Year/Part lUtll Time I g hrs.
.,.......1.,.....-..

Fl*iS"_|- Numerical Methods 6H 60i)


Candidates are required to give their answers in their own words as far as practicabl
Attempt All questions.
{ tThefigures in .tro
rleJt6qt eo .r. margin
the [Link] indicate FulI
6af , tfautLuae ,.:qat Maiks.
tilurg
,/ Assume suitable data if necessary.

l. Using the fixed-poitu itemtion method,. find a real root of the equation Z;x - sinr - 4
correot to 5 decimal placcs.
t6l
2. Writc an algori&n to find a real root of a nsn-Iinear equation using the $ecar-rt method
with provision for checking possible error conditions.
l6I
J. Solve the following system of linear equations using the Gauss elimination method with
pqrtial pivoting.
l8l
2x1*3xi- 5r3 * 3xr=7
4x1*2x2*24-x+=LS
-8r1 * 9x2*24*x+=20
x1*3x2 - 5x: *Z,xn = 22
Find the largest e-igeu value and corresponding eigen vector of the fotlowing
---- '--e rnatrix using
thepowermethod. t8l
12521
ls -3 7l
Lztel
5. fit the following data to a curve of the foryt y = alog. r + D usiug the least square
method and hencc estimate / (ts).
x 2 4 6 8 t0 12 t4

v 5.22 8.34 10.16 I1.46 12.46 13.28 13.98

Estimate y(12) from the following data using natural cubic spline interpolation
technique.
x 5 l0 1s 20 25

v 15 t4 t2 r7 16

7. U$e Romb'erg malrod,to evaluato the following integral correct to .three decimal places,
t6l
f2et + cosx
J,Td*
of data using
B. Dedye the formula for computing frst and secosd older derivatives for a set
Newton's forward interpolation formula, t4l
g. Write pseudocode for evaluating a definiteliqtogxal over the giveu limits using the
Simlxon's 1/3 ntle. t4l
10. Given y = Zsiny + cosr with initial conditioa y(0) = 2, approximate
y(0.2) anil
y(0.4) using ,the lkunge-Kutta fourtli order method. t6l
ll. Solve the following !$ndary value problem using finite difference method by dividing
the interval into four sfib*intervals. t8I
yn *2y'*y =2r-tosx,withy(0) =2aady(Z) ="4
12. Derive {he [Link] recurrencs telation and use it to so-lve the one-dimensional
heat equation Sur,=2ufi with 0 <f <2 taking It=0.4 for 0<t1L, giventhe
foflouring initial and boundary oonditions:
u(r'0) =3x-L'1xz
u(0't) = u(Z't) = 0
*t't
TRIBHUVAN UNIVERSITY Exarn. Resular
INSTITUTE OF ENGINEERTNG LeVel BE Futl Marks 80
)/--trDi,EEAf,,/
Examination Control Division Programme Pass Marks -tz
BAS
2CI81 Bhadra Year / Part III/I Time Jtrr"

Sub-ject: - Numerical Methods (SI{ 603)

Candidates are required to give their answers in their ouryt rvords


lt ue s tions.
A t tempt A

rucE
11

[Link] in the margin indicate {[Link];,


Assurne suitable rluta if necessary.
,:IBRARY|
Given f(x)=x3-3xz *5r*4 anc l(0)=4, express and e','aluate fr.0.25) as
.1

f(0 + 0.25) using Taylor's series expansion comiciering onlr' ihe tlrst tiiree rcrms and
compute the percentage eror in the value so obtained.. l4l
F'ind a positive real root of the equation cos(x) * 2 slitir l = .r.2 - 20 correct to 6
decimal places using the method of False Posirion. t6l
Write an algorithrn for the bisection methorl to find a rrai r...,i ,,1 a non-linear [Link]
ra,ilh provision
for checking possible eror [Link] i6l
4. Solve the following systern ol linear equalions usinc I-L -Ce .o:lFL-rsiiiLrt.L method. i8l
3x+Zy*z=14
Zx*2y*32=19
3x*3y*22=2A
5. Obtain dominatt eigen value and corresponding eigen yector of the following matrix
using the Power Method. tSl
/r 4 2\
{+ z 4l
\z 4 1l
6. Estimate y(9) from thc following data using Natural Cubic Spline interpolation
technique. i8l
6 o
o 10 14

v 12 15 14 lo i8

7" Using the least squarc metho( fit the following data to an exponential curve of the fonn
y= &ebx and hence estimate y(7). tRr
L "l

x 0 1 i
.+ 6 8 10

v 6.3 3.1 1.5 0.7 0.4 0"2

8. Approximate a local maxima or minima from the following set of tabulated data. l6l
x 5 10 15 2A

v(x) 6.3 6.7 5"5 9.9


f . ilvaiuate tire tbllowing integral using Gauss-Legendre 3-point formula.
t6l
['{r,nir) * cos(x) -
Jo
ex + 3)dr

i 0' Write pseudocode f,or snlving an initial value problem involving a first order
orriinary
differential equation for a given sequence of equaliy spaced o,ilu*, of the dependent
variabie using the Runge-Kutta fourth order (RK4j method.
t4l
11. Solve the fclio\a'ing boundary value probiem using finite ditference rnethod
by 4ividing
the interval into four sub--intervals.
t8l
y" -- 2y' * y =er - sin(r), withy(0) = 3 an<iI(2) - 3

12. Soive theequation ur* * &yy = -B{sxz + y - s) over the [Link] comain
0dr*(3and0syS3withstepsizeh:lgiven,Lirefollovt:ingboundaryconditions:
u{$,y) = trO *2/ l8l
fory < 3
u(.x,3) : v3 forr{3
u{3,y}=20*I fbry>0
u(x,0) = $v lnrr]>0
***
TRIBHUVAN [Link]{IVERSITY Exarn. Back
INSTITUTE OF ENGTNI]ERNG BE Full Marks
!snp! 80
Flxamination Control Division Pro6ir:rmm*
BCE,B\,{8.
Pass Marks 32
Brj!N{,BIE,BAS
2081 Eaishakh teai I pa"t III/I Time 3 hrs.

,Subject: - Irlumerical Methods 6H 60j)

Candidates are required to give their ansrvers in their own *.ords as far as practicable.
Attempt All questions"
The figures in the margin inclicate Fult Mgrks"
Assume suitable data d"necessary.

'I
write different types of errors in nurnerical computation rvith examples. !41
L'l
2" lVrite an algorithm to find a reai root of a non line*r equation using Neivron
Raphson
Nlethod. , [5j
3. Using Bisection Method, find a real root of the equation sin(x)-2x 1-
1 =0 coffiect to three
decimal places.
15l
4. solve the fcrllou'ing system of equafio,s using factorization niethori.
i8i
x+2Y+J2=5
2x+'8Y+))7=6
3x+2'2Yt"822: lA
5' Find the dominant eigen value and its corresponciing eigen
vector of matrix:

fr ,
IBJ
/^
,j
tl 3 :i
ls
[s ) 3)
it' Find the pressrue at temperatures 142o{l and 1?5"C from the following
tabulated <iaia. l8l
+i(, 140 150 lAn
160 17A l LIU

p(kelcm2) )"t 4.9 o.J 8"i 10.2

7. Using least square method, fit a curve of the type y = alo&x+b


to the following data.
l8l
x 2 J 4 5 6 1

v s"45 6.26 6.84 7.29 7.66 7,96


8. The table given belorv reveals velocity V oi a body dnring
tiure 't' specified. Find its
acceleration at i: Ll
11I
t 1.0 1.1 t.z 1.3 1.4
v 1J. I A1 1
52.1 56.4 60.8

9' wnte a prc'gram code in C/c r+/ Fortan of simpson's 3i8-


rule for integrating
trrnction. 'rlvtireu'E *a given
luj
1i). Find 5(0.1) y'(0.1) [Link] the differential equation

.l2y -'.i;
-r.. dy , .. n t
ry=0. where )'=3.:.
d
rvhen x ,= 0, using rhe Runge-Ku*tr
i;i fr.=*.r,
. Methods of the fourth. 16l
11. using finite difference method, solve the boundary value probiemy,,4y,-r4y: [Link]
the condition y(0)= 0, y(1) = -2, taking n =4, ',ith
ig]
1 2. Solve the equation ux"4 uyy : 0 over the given square grid:
tB]
TRIBHUVAN UNIVERSITY Exarn.
INSTITUTE OF ENGNEERING f,cvel BB Full Markr , 80
Exarnination Control Divisisn iBCE,BME,
. Pro8ram''"[;il,
Programm
;iE, sas Pass Marks 32 !
I

,1 !, I

2080 Bhadra Yrrl lst


r
lltl
rir i r
!
Time iffi." -".t I
.---i
-(tEtmm
Subject: - Numerical Methods (SH 603)

'/ Candidates are required to give their ansu'ers in their o\vn wor practicable.
'/ Auempt All questions.
'/ The -figures in the margin indicate {uU fWar*s
I A-rsume suitable dcta if nece ssat'y.

1. Write dorvn the importanoe of Numerical methods in [Link]<rFseierrc"e*and Engineering. t4l


2. Write a pseudo-cocie to flnd a real root of a non-linear equation using False Position
Method. t6l
-3. Find a real rocl of the tbilci,ving equation r'.orrect to flve decinral places using secant
method. 16l
xe*: cosx.
4. Solve the lbllowing system of iinear eqLration using Gauss-Seiciel iteration method. f8]
1Oxr-2xz-xl-Xq : 3
-2x1+10x2-x3-xa : 15
-X1-X21- i 0xj-r-2x1 : 1?
-X1-X2-213-r- 104: -9
5. Find the dominant eigen value and it's corresponding eigen vector of a niatrix. i8l
{t
lL 3 4)
rl
i:!l i 3 i

\' j
i+ -11
6, Using the cubic 1ne ation technique approximate )'(4.2) lbr the follor,ving data. [4+4]
o
X 2 4 6 o 10
Yi4 5 1 9 12

7. Derive the normal equations tbr titting a second degree parabola ) : a+bx+cx2 to the
given data (xi, yi) i: 1,2,3,.........,..,n and trenr:e use it to flt to the following data [4+a]
x: 123 4 5
Y: 2 6 ? I 10
8. Write a prograln code in C/C +*,. Fortan of trapezoidatr rule for integrating given
function. i4l
L'l

g. Evaluate the integrai


* i]1.-'ld* .,ring Romberg Integration formula. t6l
J0.2

10. Using fourth order Runge-Kutta method find y(0.1), "v(0.2) given th;rt i6l

y'=1++ )(o)=o
1+ x'
1i. Solve the following boundary value problern using shooting method employing Euler's
formula o" : jv*4y, y(0) : 1, y(1) : 1 by taking step size h : 0.25. t8l
12. Solve the following l-leat equation . I8l
uxx = u, with
u(0' t) = 0' u(5't) : 0 fbr ail t ) 0

u(x,O) = x(5-x) fbr t : 0, taking h=1 and approximate u(x, t.) upto 3 seconds. Using
Bendre-S chmidt method.
+i.J
.TRIBHUVAN
UNIVERSITY
i yd;r- -_

TNSTITUTE OF ENGINEERING I Level .


BE i fu1 fvf".L" 80
iti
Examination Control ji Programme r BCE,LMF., BIE,BAS' l,ass
IICE,LMF., BAI\4. BIE,BAS pass Marks
Division i:
32

2080 Baishakh iVearil'art ,liilr iri*"


: .._.
3 hrs.

Subject:- Numerical lv{ethod 6H 603)

Candidates are required to give their ansu,ers in their o


cticable"
Attempt All questions.
The figures in the margin indicate Futt Marks.
Assurne suitable data if necessary.

1. I)iscuss the pros and cons in solving mathematical problems using numerical methods.
141
7" Find a real root. of the follo',ving equation correct to three clecimal places using the
Ilisection Method.
tol
xi +e* -cos(x) *7 =0
3" Vy'rite program code in CIC+ + for finding a real root of a non-linear
equation using the
Secant Method with provision for handling probiematic conditions
liketivision by zero
and infinite iterations.
t6l
4' Solve the following system of linear equations using Gauss Elimination method with
partial pivoting"
l8I
x1*4x2*4a3-2xa:27
. 3x1+3x2+5x3+Yo:33
5x1+];r16' Y6xt = 24
8x1-x2*la,"f x4= 2?
5. Obtain the dominant Eigen valve and its corresponding vector of the lbllou,ing
matrix
using Power Method.
t8l
(t r r\
t'-'l6 6j
lz
[r 6 t)
6. Using least square method, fit a curve of the type y = ab^
ab' to the following data.
t8l
x 1.0 2.0 2.5 3.0 3.5 4.0 5.0
v 1.1 1.3 2.0 2.7 3.4 +. I 6"2

7' Estimate y(6) from the foliorving data using appropriate [Link] interpolation
technique.
tBl
x 0 a
Z 4 5 B 10
y(x) 4.1 4"7 2.9 2.6 I i.3 31.1

8. Write algorithm/pseudo-code for evaluating a definite integral using Simpson,s three-


eighth rule.
t4l
9. Evaluate tire follorving integral using 3-point Gaussian Quadrature fonnula. I6j
3"
-1 re" -SinX
.T- dx
= J---.
, I + x'
10, LIsing RK-4 method, fincl y for x = 0.i anrl0.2 given ttrat 9I = xy + y2 and y(0) : i. I6l
ox
11. Solve the following boundary value problem using finite difference method by dividing
interval into four sub-intervals. t8l
y"= sinx - 4y * y' ,with y (1):2 andy (2) = 4

12" Solve the equation V2u=100(sinx+cosy) over the square domain 0 < x < 3 and
0 s y 33 r,ith u: 100 on the boundary, using Gauss- Seidel iteration inethod.[Take h :k:
1l t8l
***
TRIBFIUV AN [Link] [Y M Resular
INSTITUTE OF ENGiNEERIhIG Level BE Full Marks 80
Exarnination Control Division Programme BAM,.
Etlr^Yt:
2079 Bhadra Year I Part III / I

Subjec-t: - Numerical Methods {SH 603)

candidates are required to give their [Link]'ers in their own words gs*r-a+B+aetieeble.
Attempt All questions. i:,,, , r.a.^.q rel
The figttres in the margin indicate Futt Ma$ts-.
Assume ^ruitahle data if nece s,sar,7,.
fr$
$.$MRARY
I Derive the jteration formula of Nervton-Raplisor-r nrethcd fbr approxrrnating a real root
of a non-
' linear equation using Taylor,s series expanslon.
t4l
2. Write algorithm/pseudo-code to find a real root of a non-linear equations using bisection method.
i6l
J" Using the Secant Method. find a rt:al root of the equation xe* : cosx correct to three
decimal
places.
t6l
4. Find the inverse of the following matrix using the Gauss Jorctan Method:
t8l
il[r
3 6rr
lz _1 I
I1 I

L4 -z 31

-5" Find the largest eigen value and corresponcling vector of the followrng matrix bry pouier methocl. t8l
I ( -2 g .-
j,
-, s -)
t-
iL- o -t 5 i

6. Using the least square method. f it a ser:ond degree polyrromial to the following
data: I8l
x 0 I 2 ., 1
l
v I 1.8 1.3 2.5 i.J

7 " Using natural cubic spline interpolatiorr technique. evaluate y.(5.S) from the
fbllowing data. i8l
x 1 4 6 8 10
v 2 )i/ LL

8. Write program cocle in C/C*+ to evaluate a definite integral of a given


firnction irsing Simpson.s
Three-Eighth rule.
L4l
9. Use Rornberg's methocl to compute the follor,r ing rnlegral, correct
to j decimal olaces. l6l
f21+co
r
Jr ---\*
l+sinx
1 \.r. Solve the following inttial vaiue problem for x : 0( l)3 using RLrnge-Kutta 2,,,, order method.

Idx = sin(") + cos(x) - ,y. t(0) : I

the follorving boundary r'alue problem using flnite difference


" i:r*" merhocl taking a step-size of

).(0) : I ancl y(2) =


y" = 2y' - y + x subjectto Lroundary conditions
1

equation u" * Lr,,':0 for a square mesh rvirh the following


'' l*HnJ'aplace boundary

0*<x<3, o<y<3, Ax:h= i, Ay=k=i


u(x, 0) : 200x, u(0, y) =2001 u(3, y) - 200(J _ y], u(x, 3) = 200(3 - x)
x*x
IFJBI{UVAN LINIVER SITY Exam. ::ilrll i,,':ri "ir ':' lRdiiulai;I-llIi."::i=T
INSTITUTE OF ENGINEERING Level BE I'ulI [Link] 80
Examination Control Division Prograrnrne BCE, BME, BAM
BTE. BAS Fass Marks 32
2078llhadra Ye*r lPart flI /I Tirne 3 hrs.
,S"ejec_r. - Irlururerical Methods (5ru s;itJl*
to give rireir ansrvers in their own words uu ru, u, p.u*ti*rur*.
:flYj|'t::,i-*
Attempt 1"_?lir-d
4llquestions.

{ Assume suitable data d'necessary.

1' Define absolute,-relative and percentage effois rind hence fincl


the absolute and relative
elrors if the number x = A"AA4997 is rounded olf tr tlrrec: decinurl places.
14
2' Write an algorithm tcr find a real root ol'a non linear equ*tion using ::ri:i,ril method.
[6
3' Find a real rr:[Link] of 3 * e' +- i:osx : 0 consot ta iiir** places of iJcc:mal using tsisection
rnetlroci.
[6
4' Si:lve the fallt-rvllllr,='i:;rri'Il, a,, -iilcdr eqrmtions using Gauss*seidel
methc,d. corrept r',
^ decimal pi,:ccs.
[8
2ar+6a3*3aa*31=0
6a1+2aa *14 = 0
-3a1 +5a2 -9=0
2a1+a2-Sa3+9aa+9=0

5. using Power nrethod evaluate the dominant eigen vali:e and its corresponding eigen
vector of fcllowing matrix.

[-,, 4 3l tBl

i ro -12 6l
Lro -4 z)
6, Fit the following set data to a parabola y = a r bx * cx2
t8l
x 1 2 a
+ 5 6
v 8.5 10 9.5 a )< -4
7' Approximate y(3i and y(i2i using appropiate interpolation fomrula for the ttrllcrwing
data.
,l t8l
t 5 6 7 I I i0 tl
v 18"5 23.s 29.5 39.5 43.3 47.2 52.2

8. Solve to [Link]
H=# ,v(0.r1) subject to condition y(0) = 1 taking step size
h:0.2.
t4I
9' tlsrrrg interpolation fotmula, derive [Link]-cotes quadrature
fonnula anrl hence use it to
derive cornposite trapezoidal mle for i;itegrzrtion.
t6j
i0. The distance travell
travelled by a ve,bi.:Lqgt intervals of 2 min*tes are siven as
t4l
t (rninutes) 2 4
I
6 10 t2 14 I
distan*e (k.u| 0.25 i 2.2 n
+ 6.5 8.5 11
Calculat* vdocity and acceieration at [ - 4minutes.
11. Soive tire B*undary value problern using i.-inite Difference
Methorl y"* xy'-j-y :
y(0) : 0 and y(l) t. l ake h : ?5.
: 3x2'l 2,
t8l
i2" Derive recurrencc fcrrniula flir solving a Fcisson,s equation
using it solve the foliowing
Pr:isscn's equation:
M**.* [Link] = -10 (xz + yz + 1#) over the sq*are rnesh 0 < x : 3,0sys3with
:
u(x, y) 0 [Link] *"he bour:dery and mesh icngth h = k 1. : [2+8]
***
TRIBHUVAN UNIVERSITY Exarn. Bacli
INSTITUTE OF ENGINEERING Level BE Full Marks 80
Examination Control Division Programme
tsCE, BME,
Fass Marks 32
BAM. BIE
2078 Kartik Year / Part il/I T'ime 3 hrs"

- Numerical Methodx (SH 603)


Candidates are required to give their answers in their own words as far as practicable.
Auempt All Euestiotts.
The ligures in the margin indicqte Full MartL
Assume suitable data tf necessary.

1. Discuss the significance of Numerical Methods in the field of Engineering in rnodem day context. t4]
2. State the condition for which fixed point iteration me&od oonverges. Solve the equation
x' + x'- 3 :0 correct to four decimal places using fixed point iteration riethod.
[Z+4J
3. method.
Write a pseudo-code to find a real root of a non linear equation using Secant
t6l
4. Solve the foll:wing system of equations using Gauss Elimination with Partial Pivoting.
[g]
-x+2Y*12-r-11:J
2x* 4Y + z*2w ='I
-3x+8Y't4z-w:6
x+4y+72-Zw=-4
5' Obtain the dominant Eigen value and its corresponding vector of foilowing matrix using power
Method.
t8l
lL3
{s
\s3 i)
1

{s. For the follorvi set of


of,ddata. fit a second de olr}lit function using least square method. t8l
0.5
,)(
I 1.5 4.5 6.5 i.5
f(x) 2.7 3.5 6.5 5.4 4.8
7 " From the following evaluate y{4.3; rising cubic spline i
1
technique. t8l
X 1 J 5 9
v 3.82 7.59 9.65 8.92 11.10
8. Evaluate the following integral using 3-point Gaussian quailrature formula.
14l
,J=l-----;-OX
rL ex-sinx ,
1 +xr

L Use f'allnrNing table of data to estimate velocity and acceleration at time t :9 f6t
l*l
Time in second 6 7 o
o t1
Distance travelled (in meter) i0 14.5 19.s 25.5 32
10. Write a program in any high level language (CiC ++; to solve a second order differential equation
(IVP) using classical RK-4 method.
t6l
11. Solve the following boundary value problem using finite difference method by dividing the
interval into four sub-intervals.
I8l
Y" = sin * +3Y - Y', with Y(0) : I and Y(2) = 5

12. Solve the Laplace equation V2u = 0 over the given square grid.
t8l
50 t00 50 0

Ir1 U2 ll3
2A 20

'ua
lls U6

U7 lIg lle
2A
TRIBHUVAN UNIVERSITY i Exam.
rNsrrrurE oF ENcTNEERTNG
i-k;;t** f----*

ExaminationControIDivisioni=i;;ii;**i 80

. 2_!z_6_ chaitra Liii", """:i"EI/J __--__i"S_,fl___:ii_8il


;_Nug-e!c_al Metho ds (su oos)
{y"!iyc*
Candidates are required to give their answers in their own words as far
as practicable.
[Link] questions.
The Jigures ln the margin indicate Fut! Mar,ks.
Assume suitable data if necessary.

[Link] are the importances of Numerical Methods in the field of science and
engineering? i4]
2. Write an algorithm to fiud a real root of a nonJinear equation
using Bisection method. t6l
What are the limitations of Newton- Raphson method? Using thls msthod,
find the real
root of the equation cosx - 3x + I : 0, correct to four decimal
!lur"r. t6l
4. solve the follorving system of eq*ations by Lu factorization method. l8l
2x1 +.12 + 5xs :25
Xl-Xzl-3x:=13
* 4xs: L3
x2 - 2x1
5. Find the largest eigenvalue and corresponding eigen vector of the matrix
lz 4l -2
A=l 2 3 2i using power method.
[-r r ri
t8l

6. Fitacun,e y=axb to the following data:


t8l
x i 2 3 4 5
)' 0.5 2 4.s 8 12.5
7. Estimate 4) using subig spline inlerpolation techniqu, from the followi
data.
x t8l
_1 5 7 9 l1
v 6 9 12. 9 6

e22
8. Evaluate using Gaussion 3 - point t-ormula.
J_,.---tlx t4l
9' Derive the general Newton-cotes quadrature forrnula and use it to obtain simpson,s li3
formula.
t6l
10' Write a pseudo - code to solve tirst or:der diffbrential equation using
RK-4 method. t4l
11' Solve the foliowing boundary value problem using finite
difference method by dividi,g
the interval into four sub intervals.
y" +-3y' - y: cosx y(0): Z andy(Z):3 l8l
equation uxx * uyy : 0 for the following square rnesh rvith the bou*dary
" :"",*1}j31t::.
vatues as shown.
[10]
. I TRIBHUVAN [Link] Exam.
INSTITUTE OF ENGINEERING LeVel BE Full Marl<s 80
'Examination Control Division Programme BAM. BIE
BCE, BME,
Pass Marks 5,/,

' 2076 Ashwin Year / Part m/r Time 3 hrs.

Subject: - Numerical Methods (SH 603)


,/ Candidates are required to give their answers in their own words as far as practicable.
,/ Attempt,lJ! questions'
,/ Tke figures in the rnargin indicate Fryl.l Marks-'
{ Assume suitable data if necessary.
[Link]@oYing3er,tasatiIfiesacubicpolynomiaI.
s w n
1
14
x 0 1 2 -) 4
v -B 0 26 88 244

2. Write an algorithm/pseudo-code to find a real root of a non-linear equation using


Bisection method, [6
J. Find a real root of the equation 3x+sin(x)-e*=0 correct to 3 decimais using False Position
(Regular-Falsi) method. [6
4. Method.

[8

lr 4 41
5. Find the largest Eigen value and corresponding Eigen vector of the matrix

using power method.


lt r?l
i"
'[8
6. Using the Least Squares Method, fit a second-order polynomial y : 312 + bxfctothe
following set of data: [8
1.0 1.50 2.0 2.5
v 0.75 1.25 1.45 t.25
t

7. interpolate y(24) from the foil ow data US natural cubic spline. [8


X 10 15 20 '25 30
v 22 31 28 25 26
3

8. Using Gauss-Legendre 3-point formula, evaluate: J(*tir, + 1og. *F" [6


I

g. A rod is rotating in a plane. The following table gives the angle 0 (radian) through which
the rod has turned for various of time t seconds. [4
t 1.0 t.2 1.4 t.6 1.8 1.9 2.0
e 2.10 2.31 ?..52 2.85 3.24 3.95 4.,31

Calculate the angular velocity of the rod when F1-1 sec'

10. Wiite the pseudo-code for solving a l't order ordinary differential equation using Runge-
Kutla 4tl' order method. [6

11. Solve the differential equation y" + xy'- y: x; y(0) = 1; y(1) : 0 using finite difference
method by dividing four sub-intervals. l8
x < 4; 0 < y < 4 and the boundary
12. Solve Uxx+Uyy:0 for the square mesh bounded by 0 S
conditionsu(0,y)=150,u(4,y)=150,u(x,fl)=100,u(x,4)=100;0<x<4:0<y<4'Find
the values of u(ij), i:1,2,3 corect to 3 places of decirnals. [8
TRIBHWANLINIVERSITY
" INSTITUTE OF ENGINEERING
Examination Control Division
2075 Chaitra

,.-:::t;",^;##;#:ffi:'f
{ Atrcnil Atl-questions. ;Y*l:Yffi 11;;*;;;r--_
'1 Tke figuri in the margin indicate Fuil trIarks.
/ Assurne suitable dota if necesset1;,-
I' Discuss the advantages and limitations in soh'ing [Link] by numerical
tecfuriques rather than anal1tical11,. E:,
i4l
2' Find a negative reai root of the following equation
ccrrectto three decimals using
Bisection Mehod.
t6l
I-(x+!)a _t=0
x
3. what are limitatiols of Ncwon-Raphson method? using Newon-Raphson
method, find
a root
of the equation xsinx :- cosx 0 correct to four dec"imal places.
[2+4]
4' Solve the following system of linear equation, using Gauss-Elirnination method with
partial pivoting technique.
x1-3x2+$sr:3 t8l
5x1*x2+2Yr=9
x1*7x2-;qr:14
5' obtain the dominant eigen value and its coresponding
eigen \.ectcr of the follora,ing
matrix using Power method.
Isl
[r 441
14 I 8l
l+ 8 rJ

6' IJsing thc Method of Least Squares, fit the follorving set of data to a crr\..e of the fomr
y=alog"x+b.
lBl
x 0.5 1.0 1.5 2 2.5 J
v J.l s.3 5.8 6.6 6.9 7.5
7. Using the cubic spline ue, estimate f(4) frcrm the following data:
x 1 l8l
L J 7 9
f(x) 1.5 -0.4 -6.9 6"1 6.4
8. Dcrive cc,rnposite Simpson's 3lg fonnula for integration.
i4l
g. use Romberg's me:thod to computc
i-!n.
"0l+x-
correct to three decimal praces.
l6l

i0. usirrg Euler's method, ,olo" !{ =' J1 x , ivilh .n-i at x=c, fcr x:0.1. li:0.02.
dx v-x I6j
11. Solve the following b:"rlry value problem using Finite Difference Method taking a
step-size of 0.5. y"*2y'*5o=3xz subject to boundary couditions y(0)
= 5 and y(Z;=4. '
l8l
12. S-olve the Laplace equation ux*+ uyy=0 for the square mesh
with boundary sonditions as
shown in the figure attached.
t 05 TRIBIIUVAN UNIVERSITY
i-."-.---.-._-"....---..-.-
i Exam.
-tNsttrurE oF ENcINEERING i Lcvel Full Marks i 80 I
BCE, BME, f**-"---i
Examination Control Division iProgramme Pass Marlis i 32 i
1-,-.-*--*'_--.
BAME, BIE la _-_-..**{

-/ 2075Ashrvin LY:s./-P"{-.. III II Time i3hrs. i

Numerical Methods 61168)


Candidates are reqrdred to give their answers in their own words as far as practicable.
Anempt AIt guestions.
Thefigures in tlw mugin indicate Full Marks.
Assume suitnble data dnecessary.

1. Explain the imputance of Nurnerical Methods in the field of Science and Engineering. t4l
2. Write a psendo-code to find a real root of a nonlinear equation using False Position
method. t6l
3. Find a positive raot of the equation x2sinx -e* +2=0 correct to 3 decimals using
Bisection method. t6l
4. Using L-U rrethod solve, the following system of equations t8l
2x+3y+z=l
6x-3y+42=17
' 5x+7y +62=10
5. Detennine the dominant eigen value and corresponding vector of the following matrix
using the power nrethod: t8]

lz63l
r ol
16
L3 4el
6. Fit the following set of data to a curve of the form y = aeb* t8l
a
X 2 J 4 6
v i5.t r0.2 7.8 5.5 3.8 t.7
7. Using the Cubic Spline interpolation technique, estimate the value of y(4) from the
following data: 18l
a
X I J 5 I

, 1.56 -0.43 -16.90 6.10


R Derive an expression to evaluate first derivative from Newton's backward interpolation

formula and evaluate I ut x: 8 from the following table. [3+31


Jx

x 0 1 4 6 8
:.v 0 -0.7s53 l1.2i5l 34.2867 -8.3226
E g. y2x2 +5
Use Simpson'.I-rule to
3 evaluate
Jo_1+**, taking n : 6 and also find the absolute
error with exact value.
[3+l]
- l0- Write a pseudo-code to solve an initial value problem of first order differential equation
usingRunge-Kutta2 method. : t4l
I l. Using Fourth-order Runge Kuttamethod, solve the following differential equation for y at
x:0.2 and r: 0.4;
y" -xt'z +l=0, y(0)= 1, y'(0)=0 ISI
12. Solve Poisson's equation Uxx + Uyy = 243(xt + y3; over the square domain 0 _< x S I,
0<y<1 withstepsize h =ft wttnu: l00ontheboundary. tl0l

\:
TRIBHUVAN UNIVERSITY
INSTITUTE OF ENGINEERING
,* BCE, BME,
Examination Control Division
2074 Chaitra

H692
ir!i-"4:Jvssry?Ll&1t'o9l-fi
Z-e;aidateJarffi,iuidd dgl* ttr"ii'unsw"rs in ttreir own words as far as practicable.
'/ Attempt All questions.
r' Thefigares in the margin indicate Full Matkg
,/ Assume suitable data if necessqry'
1. Define error and write its different types with examples. If x - 1.350253 is rounded offto
Four significant digits, find absolute and relative errors' t4l
2. Write an algorithm to find arealroot of a non linear equation using secant method. t5l
3. What are limitations of Newton-Raphson method? Using Newton-Raphson method, find
aroot of equation
xsinx * cosx:0 which is near to x:7tr. v+41

4. Solve the following system of linear equation using Gauss-Seidal method, correct
to 3
decimal places. t8l
Zxr+ 6x, -3xo = 31
6x, + Zxo -14
-3x, +5xr =9
2xr+x, -5x3 +9xo =-9
5. Obtain the dominant eigen value and its corresponding eigen vector of following matrix
using Power Method. t8l
[t 4 4l
lt 1 8l
L4 8 lJ
tl

6. Fit the curve of the form y: a log"x + b to the following data sets. t8l
x 2 J 4 6 7
v 5.45 6.26 6.84 '1.29 7.66 7,96
1 Approximate y(2) and y(10) using appropriate interpolation formula from the following
data: i8l
x Ja 4 5 6 1 8 9
v 4.8 8.4 14.5 23.6 36.2 52.8 73.9

B. Derive Newton-Cotes general quadrature formula for integration and use it to obtain
I
Simpson's -i.J rule of integration. t6i
i

g. *
lt]*-'
Evaluate Jox using Gaussian 3 point formula. t4l

10. Solve the following boundary value problem using shooting method [10]
d2v dv
+* ^2++y =e", with y(1) : 1 and y(2) = 5; Takingh = 0.25
dx' dx
11. Write a pseudo-code to solve an initiai value probiem of first order using Runge - Kutta 4
method. t4l
12. Derive recrilrence formula for solving one dimensional heat equation Ur = c2(Jo. Using it
(
solve the heat equation u1 = 0.5 u**, 0 ( x 5, 0 < t < 4 with boundary conditions
TRIBH{-IVAN UNIVERSITY

:1 INSTITUTE OF ENCINEERING
Examination Control Division Programme i BCE, BME, BIE Pass Marks i 32
Y6ariPil-*irtti i* Time
-.i.6ts-..-..i€*

2074 Ashwin i 3 hrs.

Sabjeet: - Numerical Methods (5H603)


Candidates are required to give their answers in their own words as far as practicable.
Attempt All questions.
TheJigures in the margtn indicate {ull Mar*s.
Assume suituble data if necessary.

l. Discuss the significance of Numerical Methods in the fieid of science and engineering. t4l
2. Find a real root of the equation cosx-xe* =0, correct to four decimal placesn using
Regula-falsi method. t6l
3. Write pseudo-code for finding a real root of a non-linear equation using the Secant
Method. t6l
4. Solve the following system of linear equations using the Gauss-Elimination Method. t8l
3rr - 2uz* 3rs * 2ra:76
2gil-lnz+Zsr+lxa='g
5sr + \uz- 5ts + 4ra:7
4q*2r;z+2ss- 3ra:16
5. Find the dominant Eigen value and corresponding vector of the following matrix using
the Power Method. t8]
l'n z sl
lz4zl
p25J
Write the pseudocode to fix a given set of data to a second degree polynomial
(y=a+bx+cxt) usingtheleastSquareMethod. tSl

7. Fit the following data to the curve / = axb using least square method. tSl
x 350 400 500 600
v 61 26 7 2.6
e2'
8. Evaluate [ (tin"*cosxpx using Gaussian 3-point formula. t6l
g. Derive the formula for computing first and second derivative using Newton's forward
difference in@rpolation formula. t6l
10. Solve the following boundary value problem using Shooting Method employing Euler's
fornnula taking a step-size of 0.25. tlOl
y"=x-y+y' subject to boundary conditions y(0) = 2 atd y(1) = 3
11. Solvetheelliptic equation (Laplace) F** +Fyy =0 forthe squaremesh0 Sx{ 1,0 <y<1
where h = Ax4.25 and k: Ay = 0.25 with the following boundary conditions: [10]

u(0,0) g: u(0.25,0) :5oo u(0.5,0) : 1000 u(0.75,0) : 500 u(1,0) : g


:
u(0,0.25) 1000 u(1,0.25) = 1000
2000 u(1,0.50) : 2000
TRIBHUVAN UNIVERSIry Exam.
INSTITUTE OF ENGINEERING Level BE Full Marks 80
Examination Control Divisio n Programme BCE, BME, BIE PassMarks 32
lSr
Year / Part m/I Time 3 hrs.
Subject: - Numerical Methods (5H603)
Candidates are required to give their answers in their own words as far as practicable.
Auenpt,4lI questions.
Thefigures in the margin indicate Full Marks..
Assume suitable data if necessary.

l. construct Divided Difference table from the following data: t4l


x I 2 4 ) 6
v t4 l5 5 6 t9
Find an approximation of the root of the equation x'-x-ll=0 by using Bisection
method correct to tlree decimal places.
t6l
3. Write an algorithm for finding a real root of non-linear equation using Newton Raphson
method.
t6l
4. Solve the following system of linear equations using Gauss-seidal iteration method.
t8l
6x,+x, -Xr * 2xo - 4
2xr+5xr-4xu*6xo =-5
x, +4x, +3x, *xa=2
xr +x2 +2xr*xo =J

5. Find the largest Eigenvalue and corresponding Eigenvector of the following matrix using
power method.
t8l
lz
l-r -l2 -ll
ol
fo -r z)
Evaluate y(I0) by using Lagrange's interpolation formula from the followrng data:
t8l
x ) 6 9 11
v t2 13 T4 l6
7. Using least square method, fit a curve y = aeb* to the following data: l8l
x 4 5.5 7 8 10
v 18.47 39.11 82.79 136.5 371.43
8. Find the value of cos(l.24) from the following table.
t4l
x 1.7 r.74 1.78 1.82 r.86
srnx 0.9916 0.9857 0.9781 0.9691 0.9584
9. Derive compbsite simpson's three-eight formula for the integration.
t6l
10. Write Psudocode to solve a first order differential equation
using R-K 4 method. t6j
I l. Solve the boundary value problem y"+xy'+y 3x2 +2,y(0)=
= 0,y(1) =l t6I
12. Solve the laplace equation Uo * U,, = 0 over the square grid with boundary condition as
shown in figure.
t10I

50
60
50
05 TRIBHUVAN TINIVERSITY
:* INSTITUTE OF ENGINEERING
Examination Control Division
2072 Chaitta

{rflget..-Jg*elrlM'tl'"jr(9ry-6w
,/ Candidates are required to give their answers in their own
words as far as practicable.
/ Attempt All questions'
/ Thefigures in the margin indicate Full-lllarks'
./ Assume suitahle data if necesssry-

l. Write an algorithm to solve a non-linear equation using secant method' t6l

Find the positive root of equation cosx-1.3x=0,correct to six decimal


places using
2.
Newton RaPhson Method. t6l

3. Discuss the limitations of [Link] point iteration methods


graphically'
.141
4. Using Factorisation method, solve the given system of linear equations' t8I

2x-5Y +z=12
-x+3Y -z=-B
3x-4Y +22:16
5. Find the largest eigen value and corresponding eigen vector of the matrix: t8l

fll t 3 -ll
l3 2 4l
f-t 4 loj
6'usingleastsquaremethod,fitacurveY=ax2+bx+ctothefollowingdata: t8l

X 20 40 60 80 r00 120
v 5.5 9.1 14.9 22.8 33.3 46.0

7. Use cubic spline interpolation to estimate f(2.5) from given table. t8l
a
x I 2 J 4
f(x) 0.5 0.3333 0.25 0.20

8. Derive Newton-cotes quadrature formuia for integration and use it to obtain the
trailezoidal rule of integration. t6l
L The following table gives distance (s) of a particle at time (t): t4l
t 0.2 0.4 0.6 0.8 1.0 1.2
S 0.12 0.49 t.r2 2.02 3.20 4.67

Calculate the velocity at time t = 0.3


10. Write Pseudocode to solve a first order differential equation using Euler's method. t4l
11. Using Fourth order Runge-Kutta method, solve the following differential equation for y at
*: {.zand x:0.4: t8l

y"-xy't+Y2 = o, Y(o) = 1, Y'(o) = o

12. Solve poisson's equation u** *uyy =729x2y2 overthe sqrure domain 0<x(1,0<y<1
u'ith step size h: 1/3 with u = 0 on the boundary. 110l
[Link] Exarn. , Nerv Bacli
Level BE Full,'[Link],
Division Programme BCE, BME, BIE Pqsq ll{qks- .32
Kartik Year'lPart ru/r Time 3 hrs.
-Methods

{ are |o gve their 4ggwefs in their owu [Link] as far as practicable.


t
{
I. a divided ..

,, [4J'..

, decimal

5x, -3x, +8xr:19


Tllf !*r-5x, =.19.

Write [Link]-level language (CIC#/FORTRA]D program to cogrpute the iilverse of a


non-singglar square matrix using Gauss Jordan Method. : :

5. Find the [Link] 'value and eorresponding vector of ,the [Link] usiag
t8l

[r.o r.3 z:z


I
I r.s 3.s l.s
Lr., r.s 3.2 l
6. Fitthe y= alog"x-+b t8I
x 214 .6' E 10 t2 t4
v 4.7 I 7.2 8.3 9.6 10.4 10.7 10.9

7. Evaluate y(l.O, y (7.8) and y (4.2) from the following datausing appropriate polpomial
interpolatioa techni. que used for gqually spaced iritervals. I
t8l
i t,,

x I 2 3 4 5 6 7 8
Y 2-3 1.8 2.0 3.0 4.4 5.0 3,9 t:7
8. Derive fonnula for fust derivative using Newton forw'atd interpolation formula. tsl
g. Evaluate
f, * ri* *O* using 3 -point'Gauss Legendre forqrula. t5I
10. Solve y'= sinx + cosy,y(O) = n in the range 0< x ( 2 by dividing the interval into 5 sub'
intervals using Euler's method. I4l
li. Apply Ruage-Kutta method of fourth order to frnd y(0.5) and y(1) from follorving
. dy v'd*ia
equatron y(o): t. I8l
*==*oy
12. Solve the Poiss+n's eqi:ati** Y2,) =x3 +;*3 over thre squaie region 0 S x S 3and 0 < y-< 3

iti = ii :::*j.:1g c.'-i = 4;,' : i'


rl rI1
subjact t* u{:r,0} = *, r:ii0. -v,i = C, :;{3,ti)
"":p.
ol 06

05 TRIBHWA}ITINIVERSITY
INSTITUTE OF ENGINEERING ttu"et I ee E'uIlMarIB ;80'

Examination Division' BCE tsME, BIE Pass ll{arlc '.32


.l'l 3 hrs.

are
AttemfrA:ll
Thiefi es
r' Assame suitable

Mettrod.
')

3.

I I ..., ]

[= I 3

-2 -4
5. Cornputethe dominantEigen vaftre using Polver ivfethod. t8l
4sl ':

3 6l i

6sl
6. From the following table estimate (1.6) r"lsingNewton's forward inteipolation method. I t8I
x l t'.4 .'1.8 2.2 ,
',,j; -:

6-.s . .. itii?
::':,lii:q
7. Estimate y(5) frorn the Intbrpol ation techn ique. ", i'.: r
, :.;-.:
x 8 . i _t...

v 6

.. Write 4 highJevel language progiam to complete Largrange's


interPolation.
8. Find approximate values of Y{3) and yt'(3) frpm the following function: t4I .t.
.:.-

x 2 | 2.5 $ 3.5 4
v s.53 5.74 '4.62 2.96 2.89
rl taD-I
g. Evaluate ffftj* usingRomberg method correct up to 3 decir-:raiplaces. l6I

I0. Solve y"13y'-y:2x subiect to the bou-ndary conditions y(0) = 3 and y{2):4 in the range
0 < x < 2 by riividing Pe interval into four sub-intervals using the finite difference meihod. t8l
1I. Write pseudc-code to solve an initial value problem (first order ordinary differantial
equatio:-r) using ihe Runge- Kutta fourth order method. {4i

12. Sclvetheequation V2u=-i0ix2+y2+10)overthesq::areraithsidesx=0:y,x:3:y


with u :C on tiie bauridarv aaC mesh lengtn :*1* li0j
P.101
+
. 05. TRIBHWAN UNIVERSITY Exarn. N if & Latcr:di: tili).','
INSTITUTE OF ENGINEERING Level BE FutlMarks 80

Exa nination Control Division Prograinme BCE, BM.E, BIE Pass Marks 32
lfi!r
l

: 2071'ShaWan Yegr I ?trt Timi 3 hrs.

to give their as far

FiillMurk.

*2x*= 39
5x7*77xs
xz*34*7x.^=25
2x1*8x2-2x"-=15

t
OR
.t-

Write pseudo-code for solving a system of linear equations using the Gauss Elimaration
Meythod.
,:'5' Find the dominant Eigen value and corresponding vector of the following inarix using
t8I
4 3'l I

I
2 7l
V 6 sl
6. Evaluate f(2.5) from the following aata using Newtor's Divided difference interpolation
formula: t8I
.:r i] 5 6
8.9 9.2 r<< 12.5 132.4

7. Fit the following data to an exponential curve of the form I: ab*. 18l
T 2 4 6 E IO
v 2 6 ?s I15 300

8. Find y'(0.2) and y"(0.2) from the following data: tsl


x 0.1 0.2 0.3 0.4 0.5
v 2.6 8.2 75.4 25,6 37-8

9. Evaluate the foilcwiag usir:g Gaussian fluee point fonnula: [-5]


2

I rsln(cosr) f
o
Z dx

P.103
,,,,; :: ]

10. Solve the following initiai value problen using the Modified Euler' s method for
' 0 < x < 0.6 with an intenral of 0.2 t6l

iin r,+'ios

t6l
0 f,oi the,following sqlrare mesnwirh as shown inthe
:r. ..'i.,-.; ...... '.., ...:.:.,r-. i li0I

o 100

' ;:***

P.104
05 TRIBHUVANUNIVERSIry Exam.
TNSTITUTE OF ENGTNEERING Level BE Full Marla 80

Examination Control Division Programme BCE,BMEBIE Pass lllarks 32


2070 Chaitra Year / Part UI/I Time 3 hrs.

Subjeet: - Numerical Methods (5H603)


{ Candidates are required to gtve their answers in their own words as far as practicable.
/ Attempt AII questions.
/ Thefigwes in the margin indicate Full Marks.
/ Assame suitable data if necessary.

l. How do we obtain a real root of a non-linear equation using Secant method? Explain
graphically end hence deduce the iteration formula. 14]

2- Write an algorithm to find a real root of a non-linear equation using Bisection method. t4]
3. Find a positive real root of sin(x) + cos(x) + e*- 8 :0 correct up to 4 decimal places using
Newton-Rapbson method. t6I
4. Solve the following system of equations using the LU Factorization method. tgj
4x+3y+z:33
2x+ 5Y +3z= 4l
2x+ Y+ 5z= 47

5. Obtain the numerically dominant Eight value and corresponding eigen vector of the
followingmatrix, usingpowermethod. t8l
Ir 3 -ll
l, z 4l
l-, 4 roj
6. From the following data, find the cubic polynomial between x : 3 and x : + usinl the
natural cubic Spline interpolation technique. t8]
x 2 3 4 5 6
v 5 6 4 3 2

OR
Write a program in C to numerically interpolate a value from a given data set using
I-agrange's inrcrpolation forrrula.
7. Fit the following set of dala to a curve of the form y = a eb* t8l
x t 2 3 4 5 6 7 8
v 2 3 4 5 7 l0 l5 30

8. A slider in a rnachine moves along a fixed straight rod. Its displacement x cm. along the
rod is given below at different instant of time t seconds. Find the velocity of the slider and
ir acceleration wlren t=O.2 seconds. l4l
t 0.0 0.1 0.2 0.3 0.4
x 30.13 3t.62 32.87 33.64 33.95

i
I

,-,', ::.i.:.i.
'+:
9. Evaluate the following integral correct to three decimals using Romberg's method. t6l
cos(X) )
4+ dx
it "sin
x
)
10. Using the finite difference approximation, solve the following boundary value problem
for three interior points. t8]
y"+4y'-3y = sin(x)i with boundary conditions yQ):3 and y(4) :4
[Link] p&uao*oa" to solve an initial value problem (first order ordinary differential
equation) using the Rrmge-Kuna fourth order method. t6]
12. Solve the Poisson's partial differentiat equation u** *yyy =-10(x2+y2+I0)over the
regoo.O <x S 3 8od0<y <3 withboundaryconditions: UOl
u(0, y) = 0, u(3, y) = 0, u(x,0) = 0 and u(u3) = 0 Assume mess length =I

.J

I
i

06 'TRIBHUVAN [Link] Exam. OId Back (2065 & EarlierBatch)


INSTITUTE OF- ENGINEERING Level BE Full Marks 80
Examination Control Division Programme All lexcept B. arch) Pass Marks 32
2070 Chaitra Year / Part III/I Time 3 hrs.

Subject: - Numerical Methods (EG601SH)


/ Candidates are required to give their answers in their own words as far as practicable.
/ Attempt any Five questions. Question No. 6 is compulsory.
'/ The/igures in the margin indicate Full Marlcs.
{ Assume suitable data tf necessary.
1. Use the Bisection method to find a real root having accuracy within l0-2 for
x3-:7x2+14x4:0 on the interval [0,1]. t8l
b) Let f(x) = -x3--cosx, find a real root using secant method with accuracy 0.01. t8l
2. a) Construct the interpolating polynomial of degree four for the unequally spaced points
in the table: t8I
x 0.0 0.1 0.3 0.6 1.0

f(x) -6.000000 -s.89483 -5.65014 -5.17788 4.28172


Find the value for x:2.5 using polynomial.
b) Estimate coeffrcient of Y = ax+b for data least square method. t8l
x 4 5 6 7 8 9

v t4 t2 11 9 6 4

3. a) A car laps a race track in 84 s. The speed of the car at each 6-s interval is determined
using a radar gun and is given from the beginning of the lap, in feet/second, by the
entries in the following table. t8l
I

Time lo 6 t2 18 24 30 36 42 48 s4 60 66 72 78 84
I
Speed | 124 134 148 156 147 133 r2l 109 99 8s 78 89 104 I 16 123

Calculate the acceleration at t = 125 and t: 54S.


b) Approximate the foltowing integrals using Gaussian quadrature with n=2 and
compare your results to the values of the integrals
f x2e-*dx. tSl

4. a) Solve the following linear algebraic equation using Gauss-Jordan method: [8]
X1 + 3X3 t ZXq= 17
2)L: 18
3X2 + 3X3 +
2X1+ 2X2 + Xt:20
b) Solve the following equations using Jacobi' Iteration method. t8]
3x + 4y + l5z: 54.8; x + l2y * 3z: 39.66:' 10x + y -22: 7.74
5. a) What is initial value problem and boundary value problem? Explain with example. t4l
b) Using Runge Kutta method of order 4'n, solve y" : y + xy', given that
y(0): 1, y'(0) :0, find y(0.2) and y'(0.2) with step size h:0.1
6. Write an algorithm, flc,'w chart and Pseudo code to solve system of equation b,r, Gauss-
Jordan method. Prograr: should capable to sotve 2 tc, 10 system of equations. [i 6]
**{<
I

05 TRIBHUVAhi IJNIVERSITY Exam.


:!
INSTITUTE OF ENGINEERING Level BE Full Marks 80
BCE, BME,
Bxamination Control Division Programme BIE
Pass Marks 32

2068 Chaitra . Year lParl, m/I Time 3 hrs.

Subject: - Numerical Methods (SH 603)


{ Candidates are required to give their answers in their own words as far as practicable.
{ Auempt All questions.
r' fhrisurn i" the margin indicate Fall Marks.
{ Assume suitable data if necessary.
I. Generate the forward difference table from the data: t4l
x 0 I 2 3 4 5 6
flx) 0 2.2 4.7 8.5 14.3 20.7 30.1

2. Derive iterative formula for Newton-Raphson method using Taylor-series. t4I


3. Find a root of the equation x3-4x-9=0, [Link] method, correct upto three decimal places. t8I
4. Solve the following system of linqfi [Link] the fpctorizatiorlpethod. -. t8l
' 2x+2Y+32-17
3x+2y+z =12
5x+2y+22 --18
OR
Write the Pseudo-code for solving a system of linear equations using the Gauss Jordan Method.
5. - Find the dominant Eigen value and corresponding Eigen vector of the following matrix using the Power
/ method. t8I
t-2 3l
-24
32 ;l
p. UsinZlagrange interpolation formula, find the value of f(I.3) from following data l8l
x I 3 4
Y 4.28 2.18 4.13

7. Estimate the co-efficients of y : ax+b for the following data using least square method. t8l
- x -2.O -1.0 0.5 2.0 3.0 5.5
Y -0.4 1.2 3.s 6.0 7.4 11.0

8. Derive the expression for evaluating derivative by forward difference method: t4I
u. a*
9. Evahnte using Simpson's l/3 rule takingunit interval size. t6l
J1;-
10. Solve 9=r-I,y(0)=1.5in the range 0sxs0.4 taking h:0.2 using Modified Euler's method,
dx y"-'
performing iteration for an accuracy of four decimal places in each step. tt0l
a
}l. Solve the elliptic equation u*** uyy = 0 for the following square mesh with boundary conditions as exhibited
in the fig,rebelow' t12)
I o zo

u1
l0 40

u3 It4
29

50

*rF*

\l
.,
l
' 431

. 05 TRIBHWA}.II'NIVEIdSEY Exam. Fr, Ii llt r'


{1 INsTITUTE oF ENGINEERING Level BE FUIIlIfiarlrs 80
BCE, BME,
Examination Control Division Programme
BIE
PassMarks 32

,. 2069Chaitra Year /Part m/I fime 3 hrs.

n
II Subject: - [Link] Methods (5H603)
/ Candidates are required to grve tbeir answers in their onm words as far as practicable.
rr
L
r' ArumrAllquestions.
r' -TTufigares inthe mwgin indicae FaIl Marks.
{ Assutne suitable data dnecessay.
r'
t,
l. Using the divided different table, sbow that the following data satisfies a cubic
polynomial. t4l
F
t: x I 3 4 5 7 9
Y 2.9 2.3 14.6 4r.5 16,6.7 41 8.1

r{, 2. Write an algorithm to find a real root of a non-linear equation using Bisection Method- t6l
I Find a real root of the following cguaion cor€ct to three decimals using the Secant
T' method..ec* =sinx t6I
I
t., 4. Solve the following system of linear cquations using Gauss-Seidel's method t8l
-xr -Xe-2xr+lOxa=-9
H-ox-'axriiji - -n
-2xr+10x2.x3-xa: l5 s'7+=3
-x1-x2* l0xl-2y=)7
T
Your answer must be corect to &rce dccimal places.
I
[,
OR
Write pseudo-code to solve a systcm of linear equations of N'unknowns using the Gauss-
elimination method.
5. Obtain the numerically dominant Eigen valuc and corresponding eigenvector of the
1
[ ,r -4 -3.]
"lr I rO n -6
I
t.) following matix using Power Uettoa I t8I

I
L-20 4 -7)
I
L- 6. Using the Cubic Spline interpolatim technique, c$imate the value of y(9) from the
following data: I8I
{-
t x 4 6 8 l0
t.. v 2 5 8 6

d- 7. Fitthe following set of data to a curve of the fonn y = a eb'. l8I


iL x 2 3 4 5 6 7
Y l5.l 10.2 7.8 5.5 3.8 1.7
iI
E
:l
iL,"
8. A rod is rotating in a plane. The following table gives the angle 0 (radians) througb which
the rod is turned for various values of the time t second: t4I

l!
t 0.0 0.2 0.4 0.6 0.8 1.0 1.2
1i
il__ 0 0 0.12 0.49 t.t2 2.02 3.20 4.67

Calculate the angular velocity and the angular acceleration of the roil, when t = 0.2 and
i 1.0 second.
I :1.
. +td;.

9. Derive simpson's l/3 rule for integration. Evaluate the following integral using Simpson's I

J
!

[:-0.
lR nrlc takingh:O25 Jox+l L4+21
--
10. Solve tre following boundary value problem using the finite difference method by

dividing the interrral into four subintervr O" ' d2v y(0)=3; y0)=4
:0) = 3; y0) = 4 t8I
#=sinx+y;
[Link] pscudo-code to solve an initial value problem (first order ordinary differential
equation) using Eule/s method. r [al
[Link] the Poisson's equation un * uyy = -8lxy, 0 < x < l, 0 < y < I with borurdary
condition: u (0,y): u (x,0) :0 and u (l,y) : u (x,l) = 100; taking h: ll3. UOI
+**

t
\/
05 TRIBHWANUNIVERSITY Exam. llcgulit r'
INSTITUTE OF ENGINEERING Level BE Full Marks 80

Examination Control Division BCE, BME,


Programme BIE
Pass Marla 32

2068 Chaitra Yeer / Part m/r Time 3 hrs.

Subject: - Numerical Methods (SH 603)


{ Candidates are required to give their answers in their own words as far as practicable.
I
r' Attempt All questions.
/ Thefigures in the margin indicate Full Marks.
{ Asswne suitable data ifnecessary.
l. Generate the foiward difference table from the data: t4l
x 0 I 2 3 4 5 6
f(x) 0 2.2 4.7 8.5 14.3 20.7 30.1

2. Derive iterative formula forNewton-Raphson method using Taylor-series. t41

3. Find a root of the equation x3-4x-9:0, using bisection method, correct upto three decimal places. t8I
t 4. Solve the following system of linear equations using the factorization method. t8l
2x+2y+32: 17
3x+2y+z :12
I
5x+2y+22 =18
OR

: Write the Pseudo-code for solving a system of linear equations using the Gauss Jordan Method,
5. Find the dominant Eigen value and corresponding Eigen vector of the following matrix using the Power
method. t8I
l-r -2 3l
l-, 4 2l
f, z sl
6. Using Lagrange interpolation formula, find the value of (l .3) from following data t8l
x I 3 4
1
Y 4.28 2.18 4.13

7. Estimate the co-efficients of y = ax*b for the following data using least square method. t8l
x -2.0 -1.0 0.5 2.0 3.0 5.5
Y 4.4 1.2 3.5 6.0 7.4 I1.0
8. Derive the expression for evaluating derivative by forward difference method. t4I
u. a*
9. Evaluate using Simpson's 1/3 rule taking unit interval size. t6l
li;;7
10. Solve 9=r-8,y(0)=1.5in
oxy
the range 0<x<0.4 taking h = 0.2 using Modified Euler's metho4

I perforrring iteration for an accuracy offour decimal places in each step. , tlol
I l. Solve the ellipic equation uo* u,, = 0 for the following square mesh with boundary conditions as exhibited
l
in the figurebelow. lt2l
l
l0 ZO

$2
t0 40
l-
U4
20

50
I

- *rr *
'-': | :

.;

T
I
, f
t

\, TRIBHUVAN UNIVERSIry Exam. Regular / Back I


I].ISTITUTE OF ENGINEERII{G I
Level BE Full Marks 80
All (Except t,
Examination Control Division Programme Pass Marks 32 I I
[Link].) l
2068 Baishakh Ydar / Part III/I Time 3 hrs. I
l
ii
t
I
Subiect: - Numerical Methods t
I
-t
'/ Candidates are required to give their answers in their own wbrds as far as practicable. I
/ Attempt any Fivequestions. Question No. 6 is compulsory I
,/ Thefigures in the margin indicate Full Marks.
E

I
{ Assume suitable data if necessary. E
E

t
l. a) Find the root of the equation e* - 3x = 0 correct upto three decimal places using i
bisection method, t8l
' '''I
b) Find the reciprocal of 3 using Newton Raphson method. . t8l
2. a) ApplyNewton's forward difference formula to find y(3.5) from the following data. t8l
x 1 2 3 4 5 6 7 8
v I 8 27 64 125 216 343 512
b) Obtain'a relation of the form y = aeb* for the following data by the method of .least
squares. t8l
x: 0.0 0.5 1.0 1.5 2.0 2.5
v: 0.10 0.45 2.15 9.15 40.3s 180.75
2,
3. a) Use Romberg integration method to evaluate the integral [5 upto 3 decimal
ix "orr"",
places taking the initial sub interval size as h : (b - a)/2. [10]
b) The velocity V of a particle at a distance S from a point on its path is given in the :

table below: t6l :


i
s (ft) 0 10 20 30 40 50 60 1
I

V (fVsec) 47 58 64 65 61 52 38 I
I
t
Estimate the time taken to travel a distance of 60ft by using Simpson's l/3 rule. I
Compare the result with Sifirpson's 3/8 rule. I

4. a) Find the largest eigen value correct to three significant digits and corresponding eigen
I I
I
vector of the following matrix usiirg power method. t8l I

[r 231 I
i
I
a=lz -r 4l ,

lr
L34sl
,x

It
t
I

b) Use Gauss Jordan [Link] find the inverse of the following matrix. t8l E

E
:
lzzll t

, ll
$

t
A=1, g

j
[r 2z) -- i
t
i
!

i
j
'''l
\
a

5. a) Solve y' : xy + y2, y(0) = I for y(0.i) and y(0.2) using Runge-Kutta method of fourth
/
1 -t I

order. t8l
b) Consider a metal plate of size 30cm x 30cm, the boundaries of which are held at
i00'C. Calculate the temperature at interior points of the plate. Assume the grid size I

of 10cm xl0cm. t8l ,1


:.
i
t,

iL

100"c 100"c :

!:

I
10.0.c
6. Write algorithm, flowchart and program code in any
-one
of the high level languages
(FORTRAN or C) to fit the parabola y = a + bx + slz where a, b and c are constants,
Hence find the value of y when x is an user defined value. [1 6]

r!

i
!

lr
il
i
I

I
l-l
]i
i
t
I

i
I

-'1
I
.'-l-d "
'i
;j
03 TRIBTIWA}.IIJNWERSITY Exam. Regular/Back
i INSTITUTE OF ENGINEERING Level BE FullMarks 80
{
n Examination Control Division All (Except
f Programme Pass Marks 32
t [Link].)
I
!:
2067 Ashadh Year/ Part m/I Time 3 hrs.

Sabiect: - Numerical Methods 26 t gce


/ Candidates are requiredto their own words as far as practicable.
/ Attempt any Five questions.
r' . Thefigures in the margin
/ Assume suitable data

1. a) Find at least one root accuracy of 0.08%, using Bisection


method. t8l
.b) Find an approximate root 1.2 : 0 using secant method upto-three
decimal places of accuracy t8l
2. a) Use a suitable method to fit an exponential curue y = aeb* for the following data: t8l
x 1 2 3 4 5
Y 1.65 2.7 4.5 7.35 t2.2
b) The followings, are the measurement of t (time) made on a curve recorded by an
oscillograph representing a change in the conditions of an elecfric curent (f). t8l
t (time) I .z 2.0 2.5 3.0
I 1.36 0.58 0.34 0.20
Find the valuq of I when t : 1.6 with appropriate Newt6n's Gregory Interpolation
method.
(I'?t2xJ-t)dx
3. a) Evaluate=r= f
ro using Gauss two point and thrree point form,la.
1+(x +l)a
Also, compare results obtained from both the inethods. t8l
:.:i,r,,: ...--;i.r:- . .i t.:_i.--,. .j iii,i: 1)t.. .1."': ,41 . : ii,.- '

I Z, _Z

b) z 3.
Find the largest Eigen value of the manix a = I
[-, , ,l z I using power method. l8l

4. a) Solve the qatem of equations givea using the Gauss elimination method with partial :
:

pivoting. l8l i
I
t
4xr + 24+ x4: 8 '
r
' 3xr *2x2*Zxt:7
t
]
I
I
xt * 3xz * 2x3 -:;a = -J' I
I
/ I

6) Sot the following differential equation within 0 S x < 0.4 using RK 4ft order t
" I
,
:
method. *dxz*z!dx -y= 6x, with y(0) : 0 and y'(0) : 1. (take h : 0.2) t8l ,
t

5. a) A rod is rotating in a plane. The following table gives the angle 0(radian) through ir

which the rod has turned for various values of the time t seconds. t8I
./ t 0 0.2 o.4 0.6 0.8 1.0 t.2
i
t
:
e 0 o.t2 0.49 t.t2 2.02 3.20 4.67 t

Calculate the angular velocity and angular acceleration of the rod, when t: 0.1 second. i{
d
!
b) Solve the Poisson equatrn V2 f = 2*'y' , over the square domain of 0<x<3 and 0(y<3 )t
1 r''''
/t withh:k=[Link]-.r:0atallitsboundaries,x:0,y=0,x:3andy=3. t8] i
t
6. Develop algorithm; flowchart and program coding to injterpolate at any points within a !
given set of data using Lagrange's interpolation method. [16] I
t
: t1"5" i
I
03 TRIBHWANT'NTVERSITY lcl.l'iriil Back
INSTITUTE OF BNGINEERING Level lrlq hllMerks 80
All(E:tccpt
Examination Control Division Programme .Bi,rch.) Prss Mrrks 32 1

2056 ,Iesttra Year /Part m/I Tlme 3 hrs.

- Numerical Methods I

/ Candidates are required to gre their answers in their own words as [Link] pr-acticable.
{ Attempt any fuquestions. Question No.6Is compulsory.
{ Thefiggres in the margin indicate Fall lllairks-
{ Asstnte suitable data if necessory.
1. a) Find a real root gf the- following equation using Hamer's mle, correct upto three
decimal places. x'- 6x'+ l lx - 6 : 0 t8I
b) Estimate a root of x2 f {nx = 3, using Bisection metho4 correct up to three decimal t

places. t8l I
i'

2. a) Using Newton's forward difference formula or Lagrange iqterpolation estimate the


square of 3.25, if. l8I
x I 2 3 4 5
x' I 4 9 l6 25

b) Fit the following data to the function y = An (ax + b) using least square method. t8l I

x -2.0 -1.0 0.5 2.0 3.0 5.5


Y -0.4 1.2 3.5 6.0 7.4 I1.0
3. a) Using hapezoidal; Sirnpon's l/3 (Composite) formulate with number of strips, il : g,

evaluate
[.,ffidx. t8l
12 e' + e-* I

b) Use Romberg Integration method to evaluate I =


l, correct uP to three
,
decimal places. t8l -!
4. a) Find out the largest Eigen value and corresponding Eigen vector from the following I

square matrix: t8]


[r
tt z 31
A=l-2 o 6l
i

b) Solve the following linear algebraic eqriations using Cholesky's factorization method. t8I
I

2a+3b+4c=20
3a+4b+ 5c=26 -1
4a+5b +6c-=32
5. a) Determine y at x = l, using RK second order (RK-2) method. (take h = 0.5) t8l
dvl
*=.:,
or( x+y
y(o)=2

b) Solve the following differential equation within 0 < x < t, h = 0.5 using Euler's i

method. t8l

*.09*
dx' dx Y =2x with"vg)=o and Y(o) = 2.
I

6. Write an algorithm, flowchart, and computer program in any of the language C or


FORTRAI{ to solve a systenr of linear equations using Gauss climination method with
pivoting. -+** 16+4+61
i"partial :

I
I
J
I
03 TRIDl{LrV.{i.\ Uh\l\iERSIT'tr Exanr. Back
INSTITUTE OF ENGINEERAIG BE NIarks SO

.Examiiration Control Division Programme


ill (Ercept
Pass i\1[.arks 32
il
2065 ehadra Year / Part III i I Tinre 3 hrs
/
.- .Nurneri cal M etho ci s'

: .,
[8] I

'6/Catculatearealrootofnon-linearequationxsinx+cosx:[Link] 1 I

Method. The absolute error of functioiral value at our calculated'root should be less
,,/ / than 10-a. . '
X/ g [Link] appropriate method of interpolation to get f(0.675) from the given table.

x ' .0.125 '


0.2s '0.37s 0.5, l. 0:625 0.7s
. 0.'t'133 0.7437 0.7041 I 0.6s32 ' 0.6022

[Link] + [Link] the folowing data.'' ' [$]


"3 .-2 0
,)

v 1 4,63 2.11 0.67 0.09 0.63 ..2.|s 4.56


'l^
J a) Evaluate the integral I= Je'"'dx and cornpare the result in both conditions for
C

Simpson's 1/3 rule and 3 point Gauss Legerdre method. ri0l


b) The following data gives corresponding values of pressure (P) and specific volume
(V) of superheated steam: t6l
V )t. 4 6 8 r0'
P i05 '42.7, ,2:s,3 16,7

Find thb rate of chairge of pressute with' whenV:ZandV-8.'


Usin!the poriler method, findithe larlest eigen valug of !h9 {ollowing mafrix. [6]'

b)
r
Solve
..
the following system of linear equations by Gauss-Eliminati'on method. [10]
5ii+xz+xrixc:! .

X1*x2i6x3+xq:-5
.i Xr*xzaX:+Xq:0
/ / A.,
-I."y2='Q; J',
/4 Use second'orderRunge-Kuttamethod to soh'e
dx Y-rl'
dx
=0 at x=0.2
and 0.4 given that y : l, z:.1 at x : 0. t8l
pi'AlnlV'Runge Kutta'fburth order methoci to apilroxu:rate the vaiue of y. u,hen..;i - 0.2

/\
.v6/ Wrrt" an algorithrn, flowchai"t and program code in any high level language to solve a
system of linear equations in 'n'.unknowns using the Gauss'Jordan i\4ethod. The program
sirould displgy the augmented co-efficient niatrix at each step of elirnination. [5+5+6] . I
I
-l
:!'
. 'it 't I
l

t t I
!

I
I
!

I
I
I
lr
1
02 TzuBiilJvtu\ U-TIIVERSITY E:<am. Reeular/Back
INS TITUTE OF [Link] G I-el'el BE EUII l{{arhs 80 I

PJi iExcept
Exanoinatioa Control Bivisien Frogran:me [Link].)
Pass N{arks 32

206.5 Shrawan Year / Part IiI/I Time 3 lrrs.


// .;
S ubj ect :.- Numericai ltlethods
./ Candidates'are required to give their answers in their orarn rvcrds as far as pracicable. i

/ Attempt any [Link]. Questton lte. 6 is campulsbry.


t. fhefigures in [Link] tndicate {$l!Marks.
/ Assttme suitable riata if necessary. I

1. a) Fjnd the point with accuracy 0.001, where the line.y =-x - [Link] y: ,ln x is
idterseiting; using bisectiou method. '
l8l
b) Calculate the root of non-linear equation f(x) = sin x - 2x +.1 using secant method.
The absolute en'or of firnctionai vaiue at oui caiculated root si:ould be less than 10-3. l8l
I

2,. a) Find the missing values of'coiiected water le'rei using Lagrange' interpolation. i8l I

Time riuration of rainfall (t) min 1 6.5 10


Collected Water level (h) rnm ./.) o.t 2 203
'the
b1t Use suitable method and determine the exponential fit of y : Cek for the
followi4g data: l8l
I

x 0 1 2 J 4 rl
Y 1.5 2.5 -3.5 5.0 7.5
1.5 -
3. a) Evaluate the integral 1= Jsinxdx, compare the absolute error in both ionditions for I

Simpson 1/3 rule and Simpson's 3/8 ruie. l8l I

b) Use Romberg Integration frnd *re integrel of e' sin x between the limits -1 aad 1. '[8]

.: . ' :
"1
4. a) Find tlie inyerse [Link] A, I

I
b) Soive thb' follorvipg'by Causs method with complete pivoting. I

2xry..3Y*22'=2 .. ,
: 10x+3y+ 4z=16 I

3x+6y*z=6 I
i

5. a) Solve the follorvirig differential equation within 0 S x S 1.0 using RK 4d'order.. r.r
method. I
I

*** - or=3x, with y(0) = 0 and y'(g) : 1. (taiie h = 0.5)


dxr dx
:. ':' I

b) Consider a sheet metal of size 30cm by 30cm. The turo adjacent sides are maintained I

at temperature of 50oC and other two sicies are held at 500'C. Calculate the steady
state temperature at interior points ass-aming a grid size of 1Ocm by 10cm. i8l I

6 Write algorithm. florv chart and program code of any high level language to sol're
polynomial of n* degree [Link]'s rule. Your prcgram should read the coefficients
of polynomial and dispi'ay all roots of that poiynomial correct up to five decimal places. [5+5+6] I

'
'.r*tlf

-1

i
ti t l=
-.=tF'--.

' t,.r.

,,r,1';1S'"'it-

3 TRIBHLTVAN UNIYFRSITY Exam. Resular / Back


OF ENGINEERING LeVel BE Full Marks 30

Control,Division Atl (Except I


Programme Pass Marks
[Link].)
2066 Bhadra Year / Part m/r Time 3 hrs.

Numerical
I Candidates are iequired to give their answers in their own words as far as practicable.
:"' :
/ Auempt any Five questions. Question No. 6 is compulsory.
/' The figures in the margin indicate Futl Marks

1. a) Find a reai root of the equation x3 + x'- I - 0 by the fixed point iteration *"ttm,
' corect to six decimal places. t8l
b) Calculate areal rootof n-on-linear equation x sinx + cos x = 0 usingNewtonRaphson
Method. The absolute Of funciioiral value at our calculated root should be less 6
than 104. "ft;r t8l
2. a) USe appropriate method,of interpolation
10
[Link]:f?_s) from the given tabJe. t8l
x 0.t25 0.375 0.5 0.62s 0.7s
f(x) 0.791 733 0.7437 0.7041 0.6s32 0.6022 6
b) Use the suitable method to fit a quadratic curve y = axz * bx t C for the following data. t8l
x l' -e
-3 ":,1:,"2.'l.l 1 0 1lz 3
v 4.63 0.67 0.09 0.63 I [Link] 4.56
I )
':
3. a) Evaluate the integral I = e-*-dx and compare the result in both conditions for
J
0
3
Simpson's 1/3 mle and 3 point Gauss Legendre method. Ii0]
b) The following data gives corresponding values of pressrue (P) and specific volume
(V) of superheated steam: t6l
V 4
42.7
6
25.3
8
16.7
10 3
P 105 13

Find the rate of chhnge of pressure with respect to volume when V : 2 and V : 8

4. a) Using the power method; find the lar-gest eigen value of the following matrix.' t6l
[r6rr
II
A=11 2 0l 1
t^^t
[003]
b) Sotrve the foltJing system of linear equations by Gauss-Elimination methoa. [10]
. .5xr+xz*x3tx4:4
e
: Xl +xe.*{xa'f xq :-5 i
xr* *z *'xr -l- xa = 0-
a) Use second order Runge-Kutta method to solve
dx dx
0.4 giventhat y = L..i: I dt x::'0.. -,

b) Apply [Link] Kutta fourth ordg,[Link]


I and 04 givenlhaty'=Ity, v(0)
'+I
6, Write an algorithm, flowchart and program code in any high level language to solve a
system of linear equations in 'n''unknowns' using the Gauss Jordan Met\od. The program
should display the augmented co-bfficierit matrix at each step of elimination. [5+s+6]
i- ,l
*(dr* ,I

L
!.
\
i
02 TRIBHWANUMVERSITY Exam. Regular,{Back
INSTTruTE OF ENGINEERING Level BE tr'ull Marks 80

Examination Control Division All @xcept


Programme [Link].) Pass Marks 32

2065 Shrawaa Year /Part mii Time 3 hrs.

Subjea: - Numerical Methods


/ Candidates are required to give their answers in their own words as far as practicable.
{ Attempt any zu,questions. Questlon No. 6 is compulsory.
/ Thefigures in the margin indicate Full4ttarks.
y' Assume suitable data dnecessary.

1. a) Findth,epointwith accuracy0.001, wherethe line y= x -3 and y=,lz x is


intersecting, using bisection method. l8l
b) Calculate the root of non-linear equation f(x) = sin x - 2x + I using secant method.
The absolute eror of functional valup at or:r calculatpd root should be less than 10-3. l8l
2. a) Find the missing values of collected water level using Lagrange' interpolation. t8l
Time duration ofrainfall (t) min I 3 6.5 10
Collected Water level (h) mm 23 61 ? 203
b) Use ttre suitable method and deterrrine the exponential fit of y = Cee for the
following data: t8l
x 0 1 2 J 4
Y 1.5 3.5 5.0 7.5

3. a) Evaluate the integral r='f.t**, compare the absolute error in both conditions for
,0
Simpson 1/3 rule and Simpson's 3/8 rule. t8l
b) Use Romberg Integration find the integral of e* sin x between the limits -1 and 1. I8l

lz -2 4l
4. a) Findtheinverseofthematrix A.=l 2 using Gauss-Jordan method. t8l
t-,
L
i?l
b) Solve the following by Gauss Elimination method with complete pivoting. t8l
2x + 3y *22=2
10x + 3y + 4z= 16
3x+6Y*z=6
5. a) Solve the following differential equation within 0 S x < 1.0 using RK 4fr order
method. t8l

q * I - o, = 3x, with y(0) = 0 anci y'(g) = t. (take h : 0.5)


dx' dx
b) Consider a sheet cietal of size 30cm by 30cm. The two adjacent sides are maintained
at ternperature of 50oC and other two sides are held at 500oC. Calculate the steady
state temperature at interior points assuming a grid size of 10cm by 10cm. t8l
6. Write algorithm flow chart 'Etrd'pfogram code of any high level language to solve
polynomial of nh degree using Harner's rule. Your program should read the coefficients
of polynomial and display all roots of that polynomial correct up to five decimal places. [5+5+6]
., **rl.
:t

-]

You might also like