0% found this document useful (0 votes)
34 views2 pages

Numerical Methods Exam Spring 2024

This document is an exam paper for a Bachelor's level Numerical Methods course at Pokhara University for Spring 2024. It includes various mathematical problems such as finding roots of equations, interpolation, integration techniques, matrix inversion, solving differential equations, and applications of numerical methods. Candidates are required to attempt all questions and provide answers in their own words.
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)
34 views2 pages

Numerical Methods Exam Spring 2024

This document is an exam paper for a Bachelor's level Numerical Methods course at Pokhara University for Spring 2024. It includes various mathematical problems such as finding roots of equations, interpolation, integration techniques, matrix inversion, solving differential equations, and applications of numerical methods. Candidates are required to attempt all questions and provide answers in their own words.
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

POKHARA UNIVERSITY

Level: Bachelor Semester: Spring Year : 2024


Programme: BE Full Marks : 100
Course: Numerical Methods Pass Marks : 45
Time : 3 hrs.
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) Find the root of the equation 𝑐𝑜𝑠𝑥 + 𝑒 𝑥 + 𝑥 2 = 3 correct to three
decimal places by using Newton Raphson method.
b) Find the root of the equation f(x) = x2-4x-10 correct to three decimal
places by using False Position method.
2. a) The following table gives the displacement, x(cms.) of an object at
various time, t(seconds). Find the displacement of this object at t=1.3
second and t=1.5 second, using any suitable interpolation formula.
t 1.0 1.2 1.4 1.7
x 9.0 9.5 10.2 11.0
b) The growth of bacteria(N) in a culture after t hours is given by the
following table:
Time t(hr) 0 1 2 3 4
Bacteria(N) 32 47 65 92 132
If the relationship between bacteria N and time t is of the form
N=[Link] least square approximation estimate the N at t =5 hr.
3. 3 𝑒𝑥
a) Find ∫0 𝑑𝑥 by using:
1+𝑥
i. Trapezoidal rule
ii. Simpson’s 1/3 rule
iii. Simpson’s 3/8 rule
b) Use the Romberg integration to find the solution correct upto three
decimal places.
1 1
𝐼 = ∫0 dx
1+𝑥 2

Page 1 of 2
4. 4 1 2
a) Find the inverse of the square matrix, A=[2 3 −1]by using
1 −2 2
Gauss-Jordan elimination method.
b) Find the solution of the given simultaneous linear equation using
Gauss Seidel method.
6𝑥 − 2𝑦 + 𝑧 = 11
−2𝑥 + 7𝑦 + 2𝑧 = 5
𝑥 + 2𝑦 − 5𝑧 = −1
5. a) solve the following differential equation within 0≤x≤0.5 using Rk 4th
order method 10d2 y/dx2+2dy/dx-3y=5, y(0)=0,y'(0)=0.
b) Using the Euler's (R-K I st order method) find an approximate value of
y corresponding to x=1, given that dy/dx = X+Y and y= 1. When x=0,
h = 0.1.
6. a) Torsion on a square bar of size 15cm × 15cm. If two of the sides are
held at 1000 C and the other two sides are held at 00C. Calculate the
steady state temperature at interior points. Assume a grid size of
5cm × 5cm.
b) Solve the Poisson equation ▼2f=2x2+ y, over the square domain 1≤x
≤4, 1≤y ≤4, with f=0 on the boundary. Take step size in x and y, h=k=1.
7. Write short notes on: (Any two) 2×5
a) Applications of Numerical Methods in Engineering
b) Error in Numerical Method
c) Ill condition and well-conditioned system

Page 2 of 2

Common questions

Powered by AI

Interpolation is significant in estimating the displacement at non-tabulated times as it allows us to estimate values within the range of known data points accurately. For estimating the displacement of an object at \( t = 1.3 \) second and \( t = 1.5 \) second using given data at \( t = 1.0, 1.2, 1.4, \) and \( 1.7 \), a suitable technique could be polynomial interpolation, such as Lagrange interpolation or Newton’s divided differences. These methods provide a polynomial that passes through all the given points and is beneficial in estimating values at intermediate points .

Understanding ill-conditioned and well-conditioned systems is crucial in numerical methods because these concepts affect the stability and accuracy of numerical computations. An ill-conditioned system is one where small changes in input or coefficients can lead to large deviations in the output, often indicated by a high condition number. Conversely, a well-conditioned system has stable outputs for small perturbations. Recognizing these conditions helps in selecting suitable algorithmic strategies to improve solution accuracy, such as using regularization techniques or more robust iterative solvers .

The False Position method, unlike the Newton-Raphson method, does not require the calculation of derivatives. It uses two initial approximations that bracket the root and then finds a new approximation using a linear interpolation. This method ensures that the root is bracketed in each iteration, providing improved stability over methods like Newton-Raphson, which could diverge if a poor initial estimate is chosen. However, False Position generally converges slower than Newton-Raphson .

The least squares approximation is used to estimate bacterial growth in a culture to minimize the sum of the squares of the errors, providing the most accurate linear or nonlinear model to describe the relationship between bacterial growth (N) and time (t). For the relationship \( N = ab^t \), one typically linearizes the problem by taking logarithms, transforming it into a linear form \( \log N = \log a + t \log b \), and then applying linear regression techniques to find the best-fitting parameters \( a \) and \( b \).

The Bernoulli differential equation is a nonlinear first-order differential equation of the form \( dy/dx + P(x)y = Q(x)y^n \), where \( n \neq 0, 1 \). To solve it using numerical methods taught in engineering courses, one often transforms it into a linear equation using the substitution \( v = y^{1-n} \), converting it to \( dv/dx + (1-n)P(x)v = (1-n)Q(x) \). This linearized equation can then be solved using methods like Euler's or the more accurate Runge-Kutta methods, ensuring that the initial and boundary conditions are properly addressed to provide robust solutions .

The Gauss-Jordan elimination method extends the Gaussian elimination process to compute the inverse of a matrix. It transforms the given matrix into the identity matrix by applying a series of row operations, simultaneously applying these operations to an identity matrix of the same order. The matrix that results from these transformations is the inverse of the original matrix if it exists. One advantage of Gauss-Jordan elimination is that it simplifies both solving system of linear equations and finding matrix inverses as part of the same process, streamlining computations when applicable .

The Trapezoidal Rule and Simpson's Rule are both numerical integration techniques, but they vary significantly in their approach and accuracy. The Trapezoidal Rule approximates the region under the curve as a series of trapezoids, making it a linear approximation and usually less accurate than higher-order methods for arbitrary functions. Simpson's Rule, on the other hand, uses quadratic polynomials to better approximate the integrand over subintervals. Simpson’s Rule is generally more accurate, particularly for smooth and continuous functions, due to its use of parabolic approximations .

The Runge-Kutta 4th order method solves differential equations by calculating intermediate slope estimates at several points within each step interval, effectively averaging these estimates to produce a single update for the solution variable. This higher order approximation significantly increases accuracy without requiring a step-size decrease, balancing computational cost and precision. It is often preferred over lower-order methods like Euler’s method due to its improved accuracy and stability, making it suitable for a wide range of differential equations .

The Newton-Raphson method can be used to approximate the root of the equation \( \cos(x) + e^x + x^2 = 3 \) with precise accuracy. This method is an iterative technique that starts with an initial guess and involves the derivative of the function. It refines the estimate by considering the tangent line to the curve at a given point to find a better approximation. The iteration continues until the desired level of precision is achieved, helping to quickly converge to a root due to its quadratic convergence property, given a good initial guess and a reasonably smooth function .

The Gauss-Seidel method iteratively refines estimates of the variables in a system of linear equations, directly using current estimates of variables as soon as they are updated. This can speed up convergence relative to methods that require the update of all estimates before iteration. It is particularly useful for large sparse systems where direct methods are computationally expensive. However, its convergence is not guaranteed for all matrices—specifically, it requires the matrix to be diagonally dominant or symmetric positive definite for convergence. This method is easy to implement and requires less memory than direct methods .

You might also like