POKHARA UNIVERSITY
Level: Bachelor Semester: Spring Year 22023
Programme: BE Full Marks: 100
Course: Numerical Methods Pass Marks: 45
Time : 3hrs.
Candidates are required to give their answers in their own words as far
as practicable.
The figures in the margin indicate full marks.
Attempt all the questions.
1. a) Explain in brief the errors in numerical calculations.
b) Find a root of 3x+sinx-e* =0 using
i. One of the bracketing methods and
ii. One of the non-bracketing methods
iS)
a) From the data given below, find the number of students whose weight
is between 60 to 70. a
Weight in 0-40 40-60 | 60-80 | 80-100 | 100-120
Ibs
No. of | 250 120 100 70 50
students I
6, b
b) Using the method of least squares, fit the curves ax? +7 to the
following data.
x 1 (2 3 4
y {-152 [0.96 8.88 7.66
2e*+sinx
3. a) .Use Romberg’s method, to compute So ae dX correct up to two
decimal places.
b) Estimate approximate derivative of f(x) = x? at x= for h=0.1, 0.2,
0.05, 0.01. Use first order difference method and find the respective
error.
8
asa) Apply the factorization method to“solve the equation 3x+2y+7z =4:
3 8
2xt3ytz = 5; 3x+4y+z =7
b) Using SOR method, solve the following system of 2
Axty+2z = 4; 3x+5ytz = 7; xty+3z = 3.
5. a) Find the largest eigen value and the corresponding eigen vector of the 8
matrix
ano)
-—1 2 -1]using power method
0 -1 2
b) Using the R-K I* order method, find an approximate value of y 7
corresponding to x=], given that = = = and y = 1. When x=0, and h
= 0.02, “
6. a) Using the R-K method of fourth order, solve for y at x= 1.2, 1.4, from 8
ay _ 2Y4E* piven xo=l, Yo =0.
ax ~ xtexer SVEN Xo}, Yo TV.
b) Solve the elliptic equation Ux, + Uyy = 0 over a square mesh of side
four units satisfying the following boundary conditions; u(0,y) = 0
for O< y <4,u(4,y) =12+y for0 < y < 4; u(x,0) = 3x fords
x <4,u(x,4) =x? forO
—1 {using the power method.
‘
0-1 2
Solve the differential equation y'=y+sin.x using appropriate
method within 0< x $0.2 with initial condition y(0) = 2 and step
size h=0.1.
Apply R-K-4 method to solve y(0.2) for the given equation
wy
ax?
h=0.2.)
Solve the parabolic equation 2f,(40=f(40 Ost tSand
given initial condition f (x,0) =50(4—x),0< x <4 with boundary
condition f(0,1) =0= f(4,2)0S1S1.5
ay m1 and @= sO TA
+x2%—y given that y=1 and &%=0 when x=0. (Assume
7. Write short notes on: (Any two)
a)
b)
c)
t
j
i
i
i
!
i
i
ane
Gauss Seidel Method of Iteration
Cubic Spline
Laplace method for partial Differentialwe
POKHARA UNIVERSITY
Level: Bachelor
Semester: Spri é :
Programme: BE ae : ull Marks 100
Course: Numerical Methods, Pass Marks: 45
Time : Shrs.
Candidates are required to give their answers in their own words as Sar
as practicable,
The figures in the margin indicate full marks,
Attempt all the questions.
a) What are the limitatiohs . of New-Raphson method? Using
Newton- Raphson method find a soot of the equation xe = 2.
b) Find a real root of the cos x = 3x— 1, correct to three decimal places,
using fixed point method.
a) Use Newton’s divided difference formula to find {(3) from the
following data:
Xt 0 1 2 4 3 6
f(x) 1 14 15 5 6 19
b) By the method of least square methods, find the straight line that best
fits the following data:
x 1 2 3 4 )
ys 14 2h 401 55 68
a) Using forward interpolation formula derive differentiation formula for
the first and second derivative of a function f(x).
0.6
i ,
b) Evaluate the integral fe* dx, using Simpson 1/3 rule and Simpson
0
3/8 rule, dividing the interval into six parts, ‘ :
a) Using Gauss Seide] method solve the following system of linear
equations:
10x, + 6x, ~ $x, = 27.
3x, + 8x, +10x, = 27 areata Ce Ret
7
» Ax, + 10x, + 3x; = 27 Noir Coley eR
asb) p
b) Find the largest cigen value and corresponding eigen vector of the 8
1 3 =1
} matrix:| 3.2 4
| -1 4 10
\ a) 5. a) Employ Taylor’s method to obtain approximate value of y atx =0.2 7
{ for the differential equation:
ie y' = 2y +e*, y(0) = 0.
b) Using Runge-Kutta second order method golve the -differential 8
equation y" = xy’ — y; y(0) = 3, y‘(0) = 0 for x = 0(0.2)0.4.
6. a) Write an algorithm to find a real root of a non linear equation using 7
secant method.
| b) Write a program in any high level language (C or C++) to solve'a 8
5. a system of linear equation, using Gauss elimination method. ‘
{ 7. Write short notes on: (Any two) 2x5
\ a) Ill-Conditioned systems
b) Errors in numerical calculation
\ c) Laplace equation
‘agin Sant ware ws dio ah”
} PHELER |
* - NCIT CollegePOKHARA UNIVERSITY
Level: Bachelor Semester: Fall Year +2016
Programme: BE Full Marks: 100
Course; Numerical Methods Pass Marks: 45
Time : Shrs.
a)
b)
a)
b)
a)
b)
a)
Candidates are required to give their answers in their own words as far
as practicable.
The figures in the margin indicate full marks.
Attempt all the questions.
What is the fixed point of a non-linear equation? Find a real root of
the equation: xe"=3 by using any bracketing method correct to three
decimal places (Take x:=1 and X2=1.5).
Obtain a real root of the equation: sinx+1=2x by using Secant method
Such that the real root must have relative error less than 0.0001.
Find the root of the equation xsinx+cosx=0 using Newton Raphson’s
Method so that relative error is less than 0.1.
The following table gives the population of a town during the last six
censuses. Estimate the increase in the population during the period
from 1976 to 1978.
Year; 1941 1951 1961 1971 1981 1991
Pop’: 12 15 20 27 39 52
10
Evaluate the integral | = fea; = is using Gauss quadrature
4 +x
formula with n = 2 and n= 3.
What is pivot element? Solve the following system of equations by
using Gauss-elimination method with partial pivoting technique.
xt y+ zt w= 2
xt+y+3z-2w= -6
2x+3y-zt2w= 7
xt2y+z-w= -2
Solve the following system of equations by using Crout’s algorithm.
2x-3yt10z= 3
-xtdyt2:
Sxt+2yt2=b)
b)
a)
b)
a)
b)
Find the largest eigen value and corresponding eigen vector of given
matrix using power method.
4 6 0
[ 5 |
20 3
Solve the given differential equation by RK-4" order method
y"-xy'+ y=0 with initial condition y(0)=3, y'(0)=0 , for
(0.2) taking h = 0.2.
Solve the differential equation y' = x + y using appropriate method
within 0 < x < 0.2 with initial condition y(0) = 1 and step size h=0.1.
Given the Poisson's equation: A?f = -10(x*+y*+10) over the square
domain: 0