0% found this document useful (0 votes)
6 views26 pages

numerical methos

The document outlines examination questions for various numerical methods courses at Tribhuvan University, covering topics such as error analysis, root-finding algorithms, linear equations, eigenvalues, interpolation, and differential equations. Each section includes specific problems to solve, often requiring the application of methods like bisection, LU factorization, and Runge-Kutta. The format emphasizes practical application and understanding of numerical techniques in engineering and science.

Uploaded by

newbie2062
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)
6 views26 pages

numerical methos

The document outlines examination questions for various numerical methods courses at Tribhuvan University, covering topics such as error analysis, root-finding algorithms, linear equations, eigenvalues, interpolation, and differential equations. Each section includes specific problems to solve, often requiring the application of methods like bisection, LU factorization, and Runge-Kutta. The format emphasizes practical application and understanding of numerical techniques in engineering and science.

Uploaded by

newbie2062
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
You are on page 1/ 26

TRIBHUVAN TJNIYERSITY

INSTITUTE OF ENGINEI]RING
BE Full Marks 80
Examination Control Division BEi.,"'BEi,
Programme BCT, BAG. Pass Marks JI
BC}{
2080 Chaitra vu". i f".t*' trTii Time 3 hrs.

TIBRARY
1. Express the value 0'a$28675 truneatecl
to ihree significant digiis and evaluate the
absolute, relative, an,j percentage errcr.
r,1 r
1 i*t
gJ*""f-XffJ;tffiJ,ffi:'o"torie to find a real root of a non-ri*ear equation usii:g tire
J" reat roor of cos x * xex = 0, correct ro tbur <Jecirnal ptaces, using [61

s:::J;::#il: the

4- Sc'lve the follor.ving svstcm l6l


of linear equations using GilLi_ss Elirnination
lr4eth*ci wirit
pa:tial pivoting.
x*Zy-LZz*Bv=ZT lBl
5x*4y*72*Zu=4
*3x*7y*gz*5u=L1
\ 6x-tZy-Bz*3u=49
5' l'ind tho dominant eigen viilue antl corresponciing
follor,r,ing matrix using the pou,er i\4ethod. 'ector in ncrmalizeil iorm of the
t8l
[15 4 31
I
ro i"z 6l
t20 4 2l
6. The voltage ou' across a capacitor at
time oc' seconds is given in the following
curve of the form u table. Fit a
= frebt using the method of reast .q,ir", r* the given data.
i8l
t 0 1 4 o 8 10
v i50 61 10 i2 5 2
7. Iising naturai c,ubic spline interpoiation,
estimaie y(5,5,)liom ihe following
data.
I8l
"x 2 4 6 8 i0
1a
v 9 !:. t0 14 l2
8. Derive the forniulae for computing
the fir.si an,J second order derivatiyes
set using Newton,s fonr.ar<i inteipo-lation ibr ii git,en data
forrnuia"
9' Ilvaluate s"'dr usirg
!!r'-o causs-Legemirc three-point form*la.
{4tr

i0' usi'g Runge-Kutta method cf fo*rth i6l


yi}.4 for the initial value problem: Grl method), approxiniate y(0.1)
!, ="g.,
anci
x" _ I , y(0) = 1.
[61
'' ,i:1l,i":1,:#:ttr _tTf,HJ,:lue probiem using nnite dilrerence
merhod by dividing

y" +3y'*y - cosx, y(0) = Z, y(Z) l8l


=]
12. Solve ihe Laplace equation uxx + ltyy = 0 over the following square mesh ernploying the
Gauss-Seidal Iterative rnethod. tg]
500 300 500

U7 lrg Vs
200 200

U4 Ug U6
1"00 100

u! U2 c3
200 200

500 300 400


x *,i
TRIBHUVAN UNIVERSITY
INSTITUTE OF ENGINEERING
Examination Control Division Programm" ;;"C,
BEL, BEi, Bcr' Pass Marks 32
BCE, BCH
2079 Chaitra Year / Part II I trI Time

Subjegf - Numerical Methods (S/{iJ3)


,/ Candidates are required to give their answers in their own words as far as practicable.
{ Attempt All questions.
'/ TheJigures in tlze margin indicate F'ull Marks.
/ Assume suitable data i-f necessary.
1. What are significant digits? Find the relative error if the number X - 0.006897 is:
a) Truncated to three decimal digits
b) Rounded offto three decimal digits. t4l
2. Write an algorithrn of bisection method for fincling a real root of noniinear equation. t6l
3. Using Regula-Falsi Mettrod, compute the real root of the follou,ing equation correct to
three decimal places. t6l
3x+sinx = e*
4. Solve the following set of equation using LU factorization method. t8l
5x-3y+22:11
7x+9y'32:26
3x+2y+42:32
5. Find the dominant eigen-value and eigen-vector using power method fbr the fbllowing
matrix: i.8l
I q -1 1l
A=i-1 3 -zl
L1-z 3j
clata.
6. Using naturg! cubic spline in iation, detennine y (9) {}om the following set of i8]
x 0 5 10 15 2A
v 16 I 12t B l4
7 . Fit the cuft-e of the form ,, : ab' to the follorving data tising the rnethcid of least sqilare. i8l
xit t
J 5
-7
9 11

v 0.9 5.2 1 1.8 19.9 30.8 43.3

B. F'rom the table below, for w,hat value of x, y is rnaximttm? Also flnd this value of y. t6l
x: I 10 I1 12 13 '71
1330 1340 1 320 1 250 i120 i 930
1

9. Write a program in cic+-r to evalr-rate a definite integral usins Simoson'sl rule. t4l
o

10. Solve the following system of differential equations l6l


dv
"r = I +xz.Z dz *
-xy for x:0.1
dx dx
Using the fbufih order Runge-Kutta metirod,
Given the initial conditions: Xo : o, Yo = o, zo- 1"
11. Using finite clifference method, solve the fcrliowing boundary value problem by dividing
the interval into four subintervals. t8l
3Y"*2)''-Y : e**2'
y(2) : 5. Y(4) : 6'

12. Solve the Poisson's equation L1*, f uyy = 729 x2y' o.'", the scluare domain
0<x < tr, 0 s y s 1 with step size h: Tl3with u : 0 01t ttre boundary. t8I
* *,1
f-_:_""'_'-____-_
TRIBttUl{ANrUNMRSITY Rcgular
INSTITUTE OF ENGINEERINO Level BE Full ]\Iarks 5f
BEL, BEI, BEX,
Examination Control Division Programme i BCT, BAc, BGE, Pass )Iarks

2078 Chaitra Year/Part ill/ll Time

S ubiect: - Numerical Melhg{g {sgl#}


Candidates are required to give their answer.s in their own .l l'.1,-.: .

Attempt AUquestions-
The figures in the mugin indicate {uil Marks-
Assurue suitable data if necessarY.

1. Discuss the impo.rtance of numerical methods in the field of science anC engir,ecr,r: i4l
Z. Write a pseuclo-code to find a real root of non-linear equation using fal::: i::s-:::':.
method. i6l
3. Find a reai root of the equation sinr + cosx + e" * 8 = 0 using Bisection mcii:ij r'lI::j''
upto 3 decimal places. t6l
4. Soive the following system of equations try Gauss-Eiimination nrethoC \'.iii'L c.:1:l:-i
pivoting. t8l
x+y_z=3
' 4x-2Y+z*-5
3x-y +32= 8

5. Find the largest Eigen values arrd the corresl:ctiding Eigen vectoi r'f tire fr-'lic',iri': i-rl:.r
using porver method. [8]

[: -1 ol
i-r
!n
2 -tl
r
I u -r
-r L )I

6. The follorvirig data are taken the steam tabie. t8l


oC 140 150 160 \74 I80
te::rp.
Pressure ( kgl-.cm" i.685 4.854 6.302 8.076 LU,Lt)

Find the pressurc at tempera-rure T = 142'C and T = 175'C using ller.i'ton's Interpolalitrll.
?. l'it an exponential function of the type y = ueb* to the follo',';ing data, 18]
-4
x 1 2 .:'

v ?.389 54.59b 403.428 1980.958


!

E. 'fhe {tistances traveled by a vehicie at the interval *f 4 minutes are gii'c;r as follorving: t4l
1n
t{s): 6 i0 ]T
11
d{kne}: 0.2.; 2.2 6.5 II

Evaluate the velocity and acceleratian of the vehicie at t: 2 sec.


1.5 -.2
9. Computc J dx using the 3-point Gaussian quadra.trre.
I6l
0.2 "-"

l0' Write on algorithm to initial value problem of first order ordinary differential
^solve an
equation for a given number of sub intervals using R
- K 4 method. t6l
ll.Soive the fcliowing boundary vaiue problem using the finite t1iffercnce method by
dividing the interval into fb,.r sub-intervals.
t8l
Y"
: 4Y' - 0. y(1) : 2
-4Y +e2* ; y (0)
12. Solve the l,aplace equation u*" * ur, : 0 for the square mesh with boundar,v values as
shown in the figure beiow.
l8l

0 100 ,-, 200 100 0


Ur Ut Lr3
300 300
U+ Us U6
500 ir00
Ur Uu Uq
300 300

0 100 200 100 0


TRIBHUVAN LNIVERSITY
iNSTITUTE OF ENGINEERING
BE Full Marks
Examination Control Division BEL. BEI. BEX..
BC i. B.{C. BCE l,ass }Iarks
2077 Chaitra IIlil i fi*"

_ _{y$ygt:.-.Numericat Methods fsais)


candidates are required to give their ansu'ers in
their oun rvords as far as practicable.
Attempt All questions.
Thefigures in the nwrgin indicate Fult l{nr,rs.
Assttme suitable data if neces.sar.J,,.

1' Define error. Exprain different types of errors in numericar computation.


2. Find a positive real root of the-equalion x2+sinx=5.?3 correct vl
ru J
to 3 uc'u*drs u
decimals using
Bisection method-
3' t6]
to find a real root of non-linear equation using
fixed point iteration
*Jffpseudo-code
4' Sllvc the following system of linear equations using
t6l
LU factorization method.
3x+7y+72=4
i8l

2x+3y+z=5
3x+4y+z=7

5. Find the largest Eigenvarue and corresponding


Eigenvetor of the matrix
lt 2 314l
l2 -l
using power method. fs 4 s)
6. t8l
Find the best fit curc in the form y : aeb* using Ieast ..quare approximation
following data. form the
x 4.4 0.8 1.2 i.6 ''l i8l
2.0 /1

v: 75 100 rua 2AA 270 375


7. From the following evaiuate y(3.2) using cubic snline i
1[er?ol ation technique. l8l
x 2 4 6 10 I
v 5.13 8.39 10.90 7.82 13.78
gi'es correspondir:g values cf pressure (p)
and specific vorurne (v) of
,jf.fllrffi:-,.]f,T
\./ 2 4 6 8 10
P 105 .t /.. I 25.3 16.7 13
F-ind the rate of change of press,re',.",,rh
respect to vorumc *,hen v:2 a,d v=g. 16l
9. Evaluate the following i*tegrai by using
Gaussian 3-point formuia.
t4l
_5

r sirr.r + ex
'2 J+'\
l0'.Write a program in C/C++/FOI{TRAN to solve a second order clifferenlial equation
'(initial r-'-'
value pre.,biem) using RK-4 method. 16l
11. Solve the follou'ing boundary value problenr using shootilrg method by dividing the
inten,al into four sub-intervals employ Euler's method. tB]
y" = cos , + 3Y - y', with y(2):2 and y(3) : 6.
12. Deriie:he recun'ence relation for Lapiace cquation U,,.*t uy,u= 0 and hence use itto sclve
the cq,laticli orer the follorving square grid:
tg]
100 600 2a0 600 100

400' U1 u2 Ir3 400

300 u4 u5 u6 300

400 u7 ug U9- 400

100 600 200 600 100


't* *
TRIBHUVAN UNIVERSITY
INSTITUTE OF ENGINEERING
Examination Control Division BEI., BEX, BCT;
- -,! pass Marks
nad, gcd -
2076 Bhadra II/II
i ;ij ;ri, - 1,il_";1;;1_M;d_a\,ff j j;,
'/ Candidates are required to give their answers in their own
words as far as practicabrle.
'/ Attempt All questians.
,/ Tlte.figures in the mctrgin indicate Full Marks.
'/ if necessary.
,4ss'urue suits-ble clata

1. Describe the impofiance of numerical metrrods in science


and engineering.
i4l
2' What is bracketing and non-brackering method? Estimate
the real root of non linear
equation x2 sinx -t-e" = 3 using bracketing method.
[2+4]
3' pseudo-code to fincl the real root of non lineai equation
using Newton-Raptison
I/}tff
t5l
4. solve the following system of rinear equarion, using factorization
method.
t8I
-{*t-x2 +.1x3 =30
2x1+3*Z-7x3=-5
5x1 -3x2 *x3 =))

5' Find the largest Eigen value and the corresponding Eigen
vector of the following matrix

using Porver method


[r241
2
|
14
:7 -r^1.
t0i i8l

6. For the following set of cJata, fit a parabolic curve f(x)= u*2 +bx+c using Ieast square
method and find/(2).
[6+21
x o5 1 1.5 t< 6.5
f(x) 2.s 2.7 3.5 6.5 8.4 9.5

7. Develop a pseudo-code to interpolate the given sets of data using Lagrange,s


interpolation.
[6]
8. use foliowing table of data to esiimare velocity at t: 6 sec.
t4l

Qlglqqce travelled (in rneter

I _r'xdx
9. E,r,aluare itan using Caussian 3 point tbrmula.
JX t6l
0

10' Given that: y' : - I .zy + T*"''*, find an approximate varue of y(0.2)
condition y(0) - i using Runge-Kutta fourth order method, with u #;;i;" with an initial
of 0.1. I6l
1 i ' solve the following boundary value problem using shooting method by,
interval into four sub-intervals. (tJsing d.i'iding the
Lurer's formuia)
ll 0l
Y": sill * -r 3y - v', with y(1) = I and y(21= 2
12. Solve the Poisson's equation V2u: -10(e* +
sin y) over the square domain 0 <x(
0S y(3
withstep sizeh= I withu: l00ontheboundary. 3,
t8l
:rrt *
13 TRIBHUVAN uNIvERslrY ["{li-gi"--^- 80
rNsrrrurE oF ENGINEERING [tei;]:- "::
Examination Control Division i P"ogt"*-'
32
i--.-- 3 hrs.
zalsBhadra [-@t---]"
s ubi e ct; - Nu4qglgl Yg!!gg1[gs5?-
,/ Candidates arie required to give their answers
in their own words as far as practicable'
/
,/ FuA Marks'
./

r. construct the divided difference tabre from the folrowing data set:
t4l
(xu,yo),(xpYr)'(xz,Yz)'(x'Yr) md (xn'yo)'
equation using Fixed Point Iteration
2. write a prudo-code to find a real root of non-linear t6l
method-

3. Find a real root of the equation t2'80x +cosx =3x2 cortect to 3 decirnals using bracketing
t6l
method.

4. solve the foltowing systern of --r-'----using Gauss-seidel method. conect to fonr


-^ equations t8l
decimal places
xr + x2+3x, +Zxr:'12
2x, + x2 + xr +4x* -11
lOx,+Zxr-4xr+x+=3
5x, +8x, -3x, +2xn = -3
Eigen vector of the matix using
5. Find the largest Eigen value and the coresponding t8l
Power Method-
fitting a parabol a y --axt + bx+c to the given datal t8l
6. State normal equations for

(*,,y, ): i = 1,2....n and hence use it to fit Y = ax2 +bx+c to the following data:

X 1.0 2.0 2.5 3.0 3.5 4.0'


Y l.l 1.3 2.0 2.7 3.4 4.1
interpolation. t6l
7. Develop a pseudocode to interpolate the given sets of data using Lagrange's
g. Derive an expression to evaluate first derivative from Newton's backward igterpolation
x = 9 from the following table' t6l
fomrula and evaluate $dx at

x I 3 5 7 9
-t.20 12.80 119.60 472.80 1302.80
v
'i
g. Derive the general Newton-cotes quadrature formula and hence use it to obtain simpson's
-3l8formula. t6I
. 10. Using finite difference method solve the following BVP: t6l

Y"1Y'4Y -- 2,Y(0) = I' Y(1) = 4

in the interval [0,1 ]. Take h : 0.25


ll. Write a program in any high level language (C/C++ffORTRAI{) to solve the second
order ditrerential equations using classical RK-4 method- t6l
12. Derive Bende-schimidt recurrence formula for solving one-dimensional heat equation
u, =c2u** and use it to solve the boundary value problem ur =uounder the condition
u(O,t) = u(l,t) = 0and u(x,o) =sin(m)upto t =5 seconds. (Take h= 0-2) [5+5]
Ft*
o,t
13 TRIBHUVAN UNIVERSITY
INSTITUTE OF ENGINEERING
BGE, BEL, BEX,
Examination Control Division
2075 Baisakh Il/II
Subject; - Numerical Method (5H553)
./ Candidates are required to give their answers in their own words as far as practicable.
{ Attempt All questions.
'/ The figures in the margin indicate b-ull Marks.
{ Assume suitable data if necessary.

1. What are the applications of Numerical Method in engineering and science? Discuss it. t4]
2. Write an algorithm of Secant method to calculate the roots of a nonlinear equations
f(x) : 0, Write the differences between secant and the false position methods. l4+2]
3. :
Find a real root of the equation xloglsx 1.2 by N-R method correct up to 4 decimal
places. t6l
4. :
Write the pseudo code of the Gauss Jordan method to solve the linear system Ax b. t8l
5. Find the dominant eigenvalue and eigenvector of the matrix: t8l

6. Estimate y(6.5) using Natural cubic spline interpolation technique from the following
data. t8l
x 3 ) 7 9 11

v 8 l0 9 t2 5

7 . Fit the curve y - axb to the foltowin g dala: t8l


4 5 7 r0 It 13.
48 100 294 900 tzt0 2028

8. Evaluate
# using Gaussian 3-point formula. t6l
""'"*dx
9. Find f '(3) from the following table: tsl
X 2 4 8 t2 t6
f(x): 20 23 30 35 40
t
10. Solvo y'= ,Y y(0)-l using R - K2 method inthe range 0,0.5, l. t6l
=,
x- +y'
11. Solve the BVP:!"*3y'= y+x2,y(0) =2,y(2)-5 at x:0.5, l, 1.5 using finite dif;flerence
method. tsl
'
12. Solve the elliptic equation V2u:0 in the square plate of size 8cm x 8cm if the boundary
values are given 50 on one side of the plate and 30 on its opposite side. Onthe other sides
the values are given 10. Assume the square grids of size 2cm x 2cm. u0l
***
,,

Subject: - Numerical Method (5H553)


/ Candidates are required'to give their answers in their own words as far as practicable.
{ Attempt All questions.
'/ The figures in the margin indicate Full Marks-
./ Assume suitable data if necessary.

lYDiscuss the significance of Numerical Methods in the field of science and engineering in
modern day context. t4]
2. Write pseudo-code for finding a real of a non-linear equation using the False Position
Method. t6l
3. Find a real root of the following equation, correct to six decimals, using the Fixed Point
iteration method. t6l
sinx + 3x -2: 0

4. Solve the following system of equations using LU factorization method. t8l


5xt +2xt+3x, =31
3x, +3xt +2xt -25
xr+Zxr*4xo -)5
5. Write a pseudo-code to determine the largest Eigen value and the colresponding vector
of a square matrix using Power Method. t8]
6. . The following data are provided; use least-squares method to fit these data with the

-'followingmodel, Y=ax+b+9
X
tSl

7. From the following dat4 compute: (a) y(3) using Newton's forward interpolation formula
(b) V(6.a) using stirling's formula. t8l
x 2 4 6 8 t0 T2

v 5.1 4.2 3.1 3.5 6.2 7.3

8. Evaluate the following integral using Romberg's method. (correct to two decimal planes) t8l

?.* +sinx * ,

ll;;-
g. Solve y' : {.0'*l - 0.5V ; subject to initial condition y(0) = 2. for y(0.5) and y(1.0) using
Runge-Kuttb 2nd order method. l6l
'i
10. Solve the following boundary value problem using the finite difference method by
dividing the interval into four sub-intervals. tS]

y" : e' + 2y' - y; /(0) : 1.5; y(z) = 2.5


I t. Find the values of u(x, y) satisffing the Laplace equation V2u : 0, at the pivotal points of
the square region with boundary conditions as shown below. [10]

100 100
100
13 TNBHUVAN I.iNIVERSITY
t INSTITUTE OF ENGINEERING i Futl Marlis
Examination Controt Division i rrogru--"
B"".
i l;
2A73 Magh Year/Part !II/n

,/ Candidates are required to give their answers in their own words as far as practicable.
'/ Attempt All questions'
'/ The figures in the margin indicate EalI Marks'
,/ Assume suitable data if necessary.

1. Discuss tEe irrportanie dlNumerical Methods in Science and Epglneefing. l4}-

n_ Find a real root of c6s *es accurate to 4 decimal places using the Secant Method,
-5:0 [6]

3. Write pseudo-code to find a real root of a non-linear equation using the Bisection Method. l6l

4. Compute the inverse of follou'ing matrix using the Gauss-Jorda.n Method. l8l

lslzl
lr z sl
lz3il
5. Write,algorithm for computing the dominant Eigen rmlue and corresponding vector of a [8]
square matrix using the Power nethod.

6. Fit the following set of data to a curve of the form U : ab'- [81

T 1.0 1.5 2.0 2.5 3.0 3.5 4,0


a 8.2 5.2 3.1 2,5 L-7 1.6 t4

7. Estimate y( .5) from the follou'ing data using Natural Cubic Spline Interpolation technique, [8]

8. Derivethe formula to evaluate U'@) and{'(x) from Nevrton's Forwa,rd Interpolation formula. [41

1.4
9. Evaluate /(sin 13 + cosC) dr using Gaussian &point formula. [6]
0
T 10. Solve/,=sinc+cosl,eubjecttoinitialconditionS(0):2intherange0(0.5)2,s,ngthe t6]
Rung+Kutta second order rrethod.

lL,Wsite a progmm in C/C++/FOITRAN to solve a second order ordinary differential eguation


. (initial value problem) using t6l
the Runge.Kutta fourth order method.

1.2. Solve the elliptic equation um*%w :0 for the squa,re mesh with boundary values as shown [10J
in the figure belon'.
0 400 800 400 0

600 600
ur th u3

I 200 1200
u1 U5 tt6

600 600
u7 lle u9

4m 800 400

l.**

V
13 'IRIBHUVAN UNIVERSITY
INSTITUTE OF ENGINEERING
Examination Control Division
*
2073 Bhadra

Subjecl; - Numerical Method (5H553)


,/ Candidates are required to give their answers in their own words as far as practicable.
,/ Attempt All questions.
The figures in the margin indicate Full Marks.
Assume suitable data if necessary.

1. Discuss the difference between absolute enor and relative effor with appropriate
examples. t4l
2. Write an algorithm of Secant method for finding a real root of a non linear equation. t4]
a
J. Find arcal root of the equation sinx=e-* correct up to four decimal places using N-R
method. What are the limitations of this method? t81

4. Apply Gauss Seidal Iterative Method to solve the linear equations coffect to 2 decimal
places. t81

10x+y-z:11.19
. x+10y +z=28.08
-x+y+102=35.61
5. Find the dominant Eigen value and the corresponding Eigen vector of the given matrix
using power method. t8l
Irs -4 -3-l
l-10 12 -61
l-zo 4 -2)
6. What is the practical significance of the least squares method of curve fitting? Derive the
normal equations to fit a given set of data to a linear equation (y =,ax+b) [2+6]
7. Using stirling formula find u2s, given; t8l
u20 = 49225,u25 = 483 I 6, uro = 47236, u3s = 45926,u40 = 44306
8. Estimate the value of cost (L7 4) from the following data: I4l
x t.7 1.74 1.78 r.82 1.86
Sin(x) 0.9916 0.98s7 0.9781 0.9691 0.9s 84
t.5
f , ,,
9. Evaluate le-(x '&( using the 3 point Gaussian quadrature formula. t6]
6.2

10. Solve the following simultaneous differential equations using Rrmge-Kutta second order
method at x:0.1 and 0.2. dv/dx = xz+ l:dzldx = -xvwith initial conditions
y(0) = 0, z(0):l t6l
1l. Write a program in any high level language (C/C+/FORTRAN) to solve a first order
initial value problem using classical RK-4 Method. t6l
12. Solve the elliptic equation uo*ur, =0 on the square mesh bounded by
0(x<3,0<y<3. The boundary values are u(x,0) = l0,u(x,3) = 90,0 < x < 3 and
u(0,y)=70,u(3,y)=0,0<y<3. [10]
***
14 TRIBHWA}.IUNTVER.SITY Eram. Itcgu l:t l
INSTITUTE OF ENGINEERING Levet BE FullMarks 80

Examination Control Division BEL, BE& BCT


Programme Pass lVlarks 32
B.Aeri.BGE
2072 Ashwin Year /Pert II/u Time 3 hrs-

-Numerical Method
/ Candidates are required to grve their answers in their own words as far as practicable.
{ Attempt$ll questions.
r' The figures in the margin indicate Full Marlss.
I Assume suitable data if necessary.

l. Disouss the difference between Absolute error and Relative error with examples. t41
2. Derive Newton Raphson interative formula for'folving nonlinear equation, using Taylor
series. t4I
3. Using the Bisection metho4 find a real root of the equation f(x) = fx - ^i/iffi-*- correct
up to tbree decimal points. t8I
4. Developpseudocode to solve a system of linear equations using Gauss Jordan method. t8I
5. Find the largest Eigen value and the corresponding Eigen vector of the following matrix
using ihe power method with an accuracy of 2 decimal points. t8I

6.
ti :il
Using appropriate Newton's Interpolation Techniques, estimate y(15) and y(85) from the
following data: t8I
x l0 30 50 70 90
v 34 56 45 23 36

7. Fit the following data in to y = a + bfi t8I


x 500 r000 2000, 4000 6000
Y 0.20 0.33 0.38 0.4s 0.51

8. Write an algorithm to calculate the definite integral


ff1*p* using composite simpson's
l/3 rule. t4I
9. The distance tavelled by a vehicle at intervals of 2 minutes are given as follows: t6I
Time(min): 2 4 6 I 10 12
Distance (km): 0.25 I 2.2 4 6.5 8.5
Evaluate the velocity and acceleration of the vehicle at t = 3 minutes. t8l
10. Solve the following Uy K? method for x:0 (0.1) 0.2

$**$*
dx' dx
y= 0 ; y(0)= 1,y'(0) = I

)
values as
0 for the square mesh with borxrdary
1l ' solve the Laplace equation un + uvv =
tl0I
shown in the figure-

0 300 i

400
U2 U3

500
Us U6,

UZ US

0 200 200

value problem' t4I


12. Derive Eulet's formula for solving initial
***
1
I

l::-

4
13 I"RIBHI'IVAN UNIVE&SITY Exam.
INS]I]'UI E OF'- ENGINEERING Level BE Full Markr 80

Examination Control Division BEI-, BEX,


;j
Programme BC'T, BGE, Pass Marks 32

2071 Bhadra Year / Part il/il Time 3 hrs.

./ Candidates are required to give their answers in their own words as far as practicable.
{ Aaempt Allquestions.
r' Thefigures in the margin indicate Full Mai&s.
y' Assume suitable data if necessary.

l. Create difference table from following data. L4t


x 3.0 3.2 3.4 3.6 3.8
Y 0.4771 0.5051 0.5315 0.5563 0.s798

2. Use bisection method to find a real positive root of sinx = I upto three decimal
x "oo""t
places. t8t'
3. Write a pseudo.code to find a real root of a non-linear equation using Secant Method. t4l
4. Solve the following linear equations using Gauss Elimination or Causs Jordan malrod
usrng partial pivoting. t8I
2x+3y+22 = 2
10x+3y+42 = 16
3x+6y+z = 6

5. Find the largest eigen-value and thc corre,qpondrng eigen-vectorof the following matrix. t8l

f i Io ;l
lr -4
6. Find the best fit curye in the form of y = a + bx + cxz using least square approxfumtion
from the followingdisoete data t8l
x r.0 1.5 2.0 2.5 3.0 3.5',, 4.0
v 1.1 1.3 1.6 2.0 2.7 3.4 4.t
7. Use Lagrange's Interpolation formula to find the value of y wtren x : 3.0, from the
followingtable. t8I
x 3.2 2.7 1.0 4.8 5.6
v 22.A t7.8 , 14.2 38.3 5t.7

8. Evaluate
['it*l*, for the function f(x) = e* + sin2x using composite Simpson's 3/8
formulataking step size h = 0.4. tsI
o2 ol using
9. Evaluate
J, . uo^,6 Gaussian
vswo 3 point formula. t5l
;U;;A
0.2) v bg
dx=ti-*i
10. Solve 1! using RK - 4 method, for y(0.4). (Given" y(0) = l, h= t6l
y'+x'
ll.Using the finite difference method, find y(0.25), V(0.5) and y(0.75) satisfying the
differential equation xy" + Y = 0, subject to the boundary conditions y(0) : l, y(l):2. t6I
12.SolvethePoissonequationu*,.*u,,:-8lxy,0<x<1,0<y<lgiventhatu(0,Y):0,
u(x, 0);0, u(l, y) = 100, u(x, l) : 100 and h: 1/3. [10]
13**
.,:

II TRIBHUVAN LTNIVERSITY Exam. Nen'Back (2066 & Latcr tsatch)


INSTITUTE OF ENGINEERING :. ,
BE Full Marks
BEL, BEX,
Examination Control Division BCT, BGE, Pass Marks 32
B.Aeri.
2071Magh Year / Part II/II Time 3 hrs.

Sabject: - Numerical Method (5H55 3)

/ Candidates are required to give their answers in their own words as far as practicable.
/ Attempt All questions.

l. Find:a root of thb equation cos x = xe* using the regula-ialsi:method correct upto'frur
decimal places. t8l
2. Derive Newton-Raphson iterative formula for solving nonJinear equation. t4l
3. Define error. Discuss different types of errors in numerical computation. l4l
4. Solve the following set of linear equations using LU factorization method. l8l
x-3Y+l0z=3
-x + 4y +22:20
5x+2Y+z=-12
5. Use Gauss Seidel method to solve the following equations: t8l
20.x+y-22=17
3x +20y -z= -18
2x-3y +202=25
6. The followingdataaretaken from the steam table. t8l
oC 140 t70
Temp. 150 160 180
Pressure ksflcm' 3.685 4.854 6.302 8.076 10.225

Fin! the pressure at the temperature T : 142"C and T: l75oC using Newton's
interpolation.
7. Derive expression for least square method of fitting a linear curve. t8l
OR
Develop pseudocode to interpolate the given set of data using Langrange interpolation.
8. If 'x' is in cm and 't' is in time then find velocity and acceleration when t : 0.1 second. I4l
t 0 0.1 o.2 0.3 0.4 0.5 0.6
x 30.r3 31.62 32.87 33.64 33.9s 33.81 33.24

9. Compute integration of the following function using Rogrberg integrati*


[,#]. t6l

10. Using Euler's method find y(0.2) from following equation y' : x + y, y(0) : 0, take
h = 0.1. l4l

I
1
!

: l.' ., . .. .,.- ! ':i'"'


r,l
;,i.i. 11*,i,.;,;,, 1,.... ?1'.i\i:i;'''1r ':
I

h = 0.1)

12. Calculate the value of u(x, y) satisfying the Laplace equation Vzu = 0 at the interior points
of the square region with boundary conditions shown in figure below lr 0l
3000 3000 3000

3000

u1 u2
2000
li',1.: .,',,,.j:-1. i...';,,1t.':,1,..tir: ii,,' i.i:..'. ri&:-i.'-.r,

u3 u4
,:i .
,;" ; " 2000',,'

1000
0

500 0
***
,:/
3lra nkar Poadnl

24 TRIBHUVAN TJNIVERSITY Exam. Re gular


INSTITUTE OF ENGINEERING Level BE Full Marks 80
BEL, BEX,
Examination Control Division Programme BCT. B.Aeri.
Pass Marks 32

2070 Bhadra Year / Part ilnl Time 3 hrs

Subject: - Numerical Method (sH553)


/ Candidates are required to give their answers in their own words as far as practicable.
/ Auempt All questions.
'/y' The figures in the margin indicate Full Marks.
Assume suitable data if necessary.

' t. D6fine"enor.Explain different tlpes of errorsin numgrical'conipirtation.


: ' t
r6r
2. Find a real root of the following equation correct to four decimals using False Position
method' t6l
e**_sinx_r:o
3. Discuss the limitations of Newton-Raphson method while finding a real root of a
non-linear equation- t4l
4 Sorve the forrowing system
"r*Ii:T;fi:::Ttorization
method. t8l_

3x1+lY, +24=25
xt+2xz+44=25
5. Write an algorithm for solving a system of linear equations of 'N' unknowns using
Gauss-Jordan Method. t8l
6. Find y at x = 8 from the following data using Natural Cubic Spline interpolation. t8I
x 3 5 7 9
v 3 2 3 I
7. Fit the following set of data to a curve of ttrem form y : a b*. Also evaluate y(7). t8I
x 2 4 6 8 l0 t2
v 16.0 I t.l 8.7 6.4 4-7 2.6

8. Evaluate the following integral using Romberg method. t6I


2
e* +sinx
I
0
l+x2
dx

9. Determine y'(l) and y''(l) from the following data. t4l


x 0.5 1.0 I.5 2.0 2.5
v 6 J 2 1.2 0.8

10. Solve the following initial value problem for y(1.2) using the Runge-Kutta fourth order
method. t6l
Y" -3Y'+ Y: sin x; Y(l): 1.2; Y'(l) :0.5
t l. Writp an algorithm to solve two point boundary value problem using shooting method. t6]

' ,-: 'd , ir':r'r ..-w.'.'1.. -.. .'a


-'-'-rr.
ti
\

,1

rl

.7
t.1
.lr:

.4. 12. Solve u** * uyy = 0 for the following square mesh with boundary conditions as shown in
ii,
.t
figure below. ll0l ij

t;

10 15
.: 0 20 I

i
..
U1
15 25

25
li U4
30
,i

3s 3i
35 35

'
:t**
:

i
i
I

I
I
I

I
I

ri
l

ii
l'
t"
I

I
I
I

i...
I
t"'
h,'
ti.i.
I,r
il:.
i1
lr,
r
1..
[.; .
I
1.

i'l :'
i;,
ilti.
ii:l .
i i:,

!,r,'
rl
| .l
t.
l:ri i
i'..,,

i';t i;,

l,'
I _'.
I,
ti:
fi
il.i,

f:r.i
iT
i':

t '- ..."' *'" r"


F

24 TRIBHUVAN TJNIVERSITY Exam. l{cl{ular' (20(r(r ct [,:rtcr ll:rlch)


INSTITUTE OF ENGINEERING Level BE Full Marks 80
Examination Control Division BEL, BEX,
Programme Pass Marks 32
BCT. B. Aeri.
2069 Bhadra Year / Part II/II Time 3 hrs.

Subiegt: - Numerical Method (sHss3)


,/ Candidates are required to give their answers in their own words as far as practicable.
r' Attempt All questions.

{ Assume suitable data dnecessary.


l. Generate forward difference table from the following data. 14)
x I 2 3 4 5 6
f(x) 2 9 28 65 t26 217
2. Explain the mechanism of finding a real root of a non-liner equation using secant method. t4l
3. Find a root of e* = 3x using bisection method and Newtons Rafihson method correct upto 3
decimal places. 14+41

- 4. Solve following system of linear equation using Gauss elimination method. t8I
x+2y+32=6
2x+Jy *52= l0
Zx-y * 3z= 4
5. Write Pseudo- code to solve a system of linear equations of 'N' dnknowns using
Gauss-Jordan method. I8l
6. Use Lagrange method to find f(2.5) from the following data : t8l
x I 2 4 5 7
f(x) I 1.4t4 1.732 2.00 2.6
7. Fit the following set of data to a curve of the form y : u eo* from the following observation by
least square method. t81

x I 2 3 4 5 6
v 5.5 6.5 9.4 15.2 30.6 49.8

8. Derive the expression of Simpson's l/3 rule for inte$ation. t4)


g. Evaluate: using 2-point Gauss Legendre method. t6l
lror--'a*
OR

r
2
Evaluate e -x dx using Romberg method correct up to 3 decimal places.

10. Solve: y" * xy' +y : 0; y(0) : 1; y'(0): 0 for x: 0(0."1)0.2 using the RK2 method. tl0I
I l. Solve the elliptic equation u** * )xx = 0 for the following square mesh with boundary conditions
as shown in figure below. lt2l

Ur lt2
l0 40

20
tlr u
50

***

,q
24 :. . TRIBHUVANLJMVERSITY eji^i;r.;-, Examr: Resular
INSTMI-ITE OF ENGINEERING Level BE tr'ull Marks 80

Examination Control Division, BEL,BEX,


Programme BCT. B.Apri.
Pass Marks 32 ::,'

. : 2068 Bhadra '1"


i Year / Part u/II, " Time 3 hrs.

orrrrrr, . Nt *araal Marnooa _


/ Candidates are required to give their answers in their own words as far as practicable.
/ Attempt All questions.
./ Thefigures in the margin indicate Full Marks.
/ Assume suitable data if necessary.

1. Findarealrootof x5-3x3- I =0correctuptofourdecimalplacesusingtheSecant


Method. t8l
2. Write a Pseudo-code to find a real root of a nm- linear equation using Bisection Method. t4]
3. Obtain the iteration formula of Secant method and explain its working procedure in
finding a root of a non linear equation. t4]
OR
Explain the workfuig principle gf the bisection method to find a real root of a non-linear
equation.
4. Solve the following set of linear equations using a suitable iterative method. t8l
2x+ytz-2w=-10
4x+22* w: 8 "
3x+2y*22:?
* + 3y *22-w =-5
5. Find the largest eigen value and corresponding eigen vector of the following matrix, using
powernlethod t8l

6. Find the values of y at x = 1.6 and x :


[;i;l
4.8 from the following points rising Newton's
iiterpolation technique. t8l
x 1 2 3 4 5
v 4 7.5 4 8.5 9.6

7. Find a curve of the forrr y = ab* that fits the following set of observations using least
squafe method. l8l
x .. I 2 3 4 5
v t.2 2.5 6.2' 15.75 28.65

8. 'Ttre following table'giveg-tho;angle,inr4dians,(e) through,which a rotating rod has tumed


for various values of.,.:time,inl;,seconds",(t)..-r,'Fird.rthe angular velocity and angular
acceleration atl= 0.2. [4],
t 0 0.2 o.4 0.6 0.8
e 0 0.t22 0.493 0.t23 2.022
I

j:; .
ii;i,'], , ,. 1.2 .1 :
:,1
g. Evaluate the integral I : Gaussian 2 point and 3 poinl,;
J0og(xif1+gilZi)dx,us-ing
o'2 ..:,-.i'..:-l' i i
n ,..---i-
tonnula. 'r';.

oR"
. ,Writ, _qpseudo-co.dq,to,integrate agivenrfunction,i rithin givenlimits
using Simpsolrls-3/8 .'' : {r.,1

rule.

10. Solve the differential equation,


9I
= 11+ *')y, within x < 0(0.2)0.a and y(0) : I using RK
4s order method. t6l
ll.Solve the following boundary value problem using the finite difference method, by

dividing the interval into four sub-interyalr = x + y,y(0) = y(1) = 0. t6l


#
12. Solve the equation V2u:-10(x2 +f +
10) over a squaremeshwith sides x:0, Y:0,
x : 3,!:3 with u:0 on the borurdary and mesh length = I. t10l
OR
Solve the elliptic equation uxx * uyy : 0 for the following squaxe mesh with the bouudary
values as shown.

0 500 1000 500 0

1000 1000
U1 Uz Ul
I

2000 2000
U4 Us U6
l

1000 r000 -!
u? U8 u9
I

-l
0 500 1000 500 0 I

*!f {.

-i
I
.- .
..iil-,tfiiri' 1
ii,1'.rFi:irEJf,,i!lil:irriiir:1.;r'-l,il f.',:icitil,i , .--. . iij,':ia,ail. .:irL:, ., '.: :-:'' .,, . ,:, :ii=r I

' :l;i.lr. .::. l.' I (};- 4; Il.. r:ri..**i.', E!;{-- ::f i:, . .,. , ':liii.l:': . I '.t .,. ::., r.r;'.*i-:. : . li. r

..-: ,-\.r-. ... :. :. -j.:-.:,. 1. .i.


I
I
-..!
I

You might also like