0% found this document useful (0 votes)
11 views3 pages

Numerical Methods in Engineering Analysis

Uploaded by

Rabeul Alam
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)
11 views3 pages

Numerical Methods in Engineering Analysis

Uploaded by

Rabeul Alam
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

SECTION B

5. (a) Compare between analytical and numerical method. [CLO1] (12)


5. (b) Construct the expression for integration using trapezoidal rule with single and (13)
multiple applications. (CLO3]
5.(c) Evaluate the following integral: 1-e-2r)dx, ) analytically, () single (10)
application of trapezoidal rule and find the error. [CLO4]

6. (a) Derive cxpressions for integration using Simpson's 1/3 rule and 3/8 rule and (15)
compare them graphically. [CLO1]
6. (b) Evaluste thefollowing integral: (1-x-4x3+ 2x5) dx (20)
() analytically, (i) using Simpson's 3/8 rule and (iüi) using Boole's rue and
determine the errors of numerical methods used. [CLO1, CL04]

7. (a) The function f() = 2e13* can be used to generate the following table of (18)
unequally spaced data:
X 0.05 0.15 0.25 0.35 0.475 0.6
1.8555 1,5970 1.3746 1.1831 0.9808 0.8131

Evaluate the íntegral from x 0 to 0.6 () analytically, (i) graphically,


(iiü) numerically and also estimate the error for numerical method. (CLO3, CLO4]
7.(6) Define ODE, PDE, initial value and boundary value problens with examples. (06)
[CLO2]
7.(9) Using Eular's method integrate the ODE: 2=-2* +12*- 20x+8.5 (11)
From x =0 to 1 with the initial condition at x=0, y=1and hence show the effect
ofthe step size. Assume any suitable step size. [CLO2, CLO4]

8. (a) Extract the useful conditions that are provided (18)


in Fig. 8(a) and identify the category of
problems they fall into. IfL = Sm, 7Ë = 10C, T
Th=100°C, ambient temperature T,=0°C, the
beat transfer coefficient is 0.01, solve the r0

problen using finite difference method with Fig. 8(a)


Ax=2.5m. [CLO5]
8. (b) Find the temperatures of the nodal points 25°C (17)
using finite difference method in Fig. 8(b).
Use over relaxation with a value of 1.5 for the (1) 42)
50°C 75°c
weighing factor and continue up to two
iterations. Calculate the maximum error for
the last iteration. (CLOS)
100°C

Fig. 8(b)

-THE END=

Page 3 of3
2.(e) Deternine the highest reaj, root of f)=2-117g +17,7x- 5. Fixed-point (10)
iteration method (hree iterations, xÍ = 3). Note: Make certain that you develop a
solution that comvergcs on the root. [CL02]

3. (a) The velocity of a space rocket is given by (15)


14x 10+
v(t) = 2000 tnT4X 10-2100t 9.8t,0 sts30

Use central diference approximaion of second deivative of v(t) to calculate the


jerk att = 16s. Use a step size of At = 2s. [CLO4]
3. (b) The geometry of a cam is given in Fig. 3(0). A curve needs to be fit through the (20)
seven points given in Table-3(b) to fabricate the cam.
Table-3(b): Geometry of the cam
Point X(in) Y(n)
1 2.20 0.00
2 1.28 0.88
6
3 0.66 1.14
4 0.00 1.20
-0.60 1.04
6 -1.04 0.60 Fig. 3(b): Schematic of cam profile.
7 -1.20 0.00
If thecan follows a quadratic profile from x= 2.20 to x = 1.28 to x=0.66, what is
the value ofy at x =1.10 using Newton's divided difference method of interpolation
and a second order polynomial. Find tho absolute relative approximate error for the
second order polynomial approximation. (CLOS]

4.(a) Solve the following set of equations with LU decomposition: (15)


3x-2x +x, =-10
2x{ + 6x-4%, 44
-X-2x, +5%, -26 {CLO2)
4. (b) The steady-state distribution' of temperature (20)
on a heated plate can be modeled by the
Láplace equation:=
0 rtheplate lo0c
is represented by a series of nodes as shown in
Fig. 4(b), centered finite divided differences J00c
can be substituted forthe secoDd derivatives,
which results a system of linear algebraic
751C
equations. Use the Gauas-Seidel method to
Fig. 4(6)
solve for the temperatires ofthe nodes. [CLO2]

Page 2 of3
DHAKÄUNTVERSITY OF ENGINEERING &TECHNOLOGY, GAZAPUR
: "[Link]. Bngincering 3rd Year 2d semester (Regular) Examination, 2020
MECHANICAL ENGINEERING

Course No. :ME 3601 Full Marks :210


Course Title : Numerical Methods for Engincering Analysis Time :3 hours

Instuctions:
) Figures in the right margin indicate full marks
(i) Answer any SLX questions taking THREE from each section
(tih) U_e separate answer script for cach section

SECTION A
1. (a) Explain the term "accuracy and precision". [CILO1] (05)
1. (b) Suppose that aspherical droplet of liquidevaporates at arate that is proportional to (15)
its [Link]éa. HkA, where, V= volume (mm, = time (min), k= the
evaporatite (mm/min); and A= surface area (mm). Use Euler's method to
compute the olume of the droplet from t = 0 to 10 min using a step size of 0.25
min. Assume that k =0.08mmmin and that the droplet initially has a radius of 2.5
mmAssess the validity of your results by determining the radius of your final
computed volume and verifying that it is consistent with the evaporation rate.
[CLO1}
1. (c) In. mathematics, functiong can often be represented by infinite series. For example, (15)
3%
the exponential function can be computed using e* = 1+*+
Thus, as mnore terms are added in sequence, the approximation becomes a beter and
better estimate of the-true value. of . Equation is called a Maclaurin series
expansion. Starting with the simplest version, e*= 1, add terrns one ata time to
estimate e0.5. After each new term is added, compute the true and approximate
percent relative errors. Note that the true value is e.5 = 1.648721 ... Add terms
until the absolute value of the approximate error estimate e falls below a
prespecified error criterion e, conforning to three significant figures. [CLo1]
2. (a) Explain the term "Roots ofequation". Write down the types ofmethod to determine (07)
the root of equation. [CLO2]
2. (b) You are designing a spherical tank as shown in (18)
Fig. 26) to hold water for a small village in a
developing country. The volume of liquid it can
hold can be computed as V= h² , where
V= volume (m), h= depth of water in tank (m),
and R= the tank radius (m). If R=3 m, to what
depth must the tank be filled so that it holds
30 m³? Use three iterations of the false-position Fig. 2(6)
method to determine your answer. Determine the approximate relative error after
each iteration. Employ initial guesses of 0 and R. [CL02]

Page 1 of3

Common questions

Powered by AI

Newton's divided difference method aids interpolation by constructing a polynomial that fits a set of data points without requiring them to be evenly spaced. This method calculates coefficients of the interpolating polynomial through a series of recursive calculations on divided differences, which are ratios of differences between successive function values and differences of independent variables. This recursive structure allows flexibility with non-uniform data spacing, preserving accuracy by efficiently incorporating information from each new data point into the polynomial incrementally. As a result, the method provides a robust tool for generating interpolation polynomials, ensuring continuity and smoothness across all data points .

An ordinary differential equation (ODE) involves functions of a single variable and their derivatives. They describe the behavior of dynamic systems with respect to one independent variable, often time. For example, describing a particle's motion along a line using acceleration-dependent terms forms an ODE. In contrast, a partial differential equation (PDE) involves multiple independent variables and partial derivatives with respect to those variables. PDEs are used to model phenomena with spatial variables, like heat distribution across a surface over time. The key difference lies in the dimensionality; PDEs typically represent more complex systems found in physics and engineering, requiring more advanced methods for solutions. ODEs are generally simpler to solve analytically but can require numerical methods for non-linear systems or complex boundary conditions .

The central difference approximation provides a numerical method for evaluating derivatives, specifically the second derivative, by using sampled function values at equidistant points. The basic formulation for the second derivative \(f''(x)\) at point \(x\) is: \(f''(x) \approx \frac{f(x+h) - 2f(x) + f(x-h)}{h^2}\), where \(h\) is the step size. The approximation's accuracy depends heavily on the chosen step size \(h\). A smaller \(h\) typically increases accuracy as it better models the local curvature of the function, but too small a step may introduce significant rounding errors due to limitations in computational precision. Conversely, too large a \(h\) can lead to reduced accuracy because the discretization fails to capture the function's finer details, illustrating the necessity of selecting an optimal \(h\) to balance truncation error and computational precision .

The false-position method, a bracketing technique for root-finding, minimizes errors primarily by ensuring that the interval always contains a root; the function's sign changes in each subinterval iteration. Error minimization strategies include narrowing the interval quickly and regularly recalculating secant lines until convergence criteria are satisfied. However, controlling errors when function evaluations are expensive or slow converging can be challenging. Compared to other methods, such as Newton-Raphson or bisection, false-position does not require derivatives and generally outperforms bisection in finding roots faster but lacks the superlinear convergence speed of Newton-Raphson. It balances error control and computational efficiency effectively when derivative calculations are complex or unavailable, though it can stagnate on certain non-linear functions, requiring adjustments such as under-relaxation to ensure continued convergence .

Euler's method is a straightforward numerical procedure to approximate solutions to ordinary differential equations (ODEs). It involves iterating a given differential equation using a chosen step size. The accuracy of Euler's method is highly dependent on the step size: smaller step sizes typically yield more accurate results as they more closely follow the trajectory of the actual solution, but at a greater computational cost. Conversely, a larger step size can lead to significant errors and divergence from the true solution. The method exemplifies the trade-off between computational efficiency and solution accuracy. When solving an ODE with Euler's method, one must select a step size that balances this trade-off based on acceptable error margins and available computational resources. This step size sensitivity illustrates the importance of choosing appropriate numerical methods and parameters for solving differential equations .

Simpson's 1/3 and 3/8 rules enhance numerical integration by using quadratic and cubic polynomials, respectively, to approximate the function being integrated over subintervals. This approach generally yields higher accuracy than the trapezoidal rule, which uses linear approximations. Simpson's 1/3 rule divides the integration interval into an even number of subintervals and fits a second-degree polynomial through every three points. This method reduces the error to one that is proportional to the fourth power of the step width. The 3/8 rule is similar but uses a cubic polynomial fit, suitable for specific use cases with three offsets. Graphically, these rules can be compared by plotting the approximation polynomials over the original function and showing how closely the polynomial predictions fit the function curve. The reduced areas of discrepancy between the original curve and the approximations highlight the improved accuracy over the more simplistic linear trapezoid fit .

The trapezoidal rule is a numerical method for estimating the definite integral of a function. Compared to more sophisticated approaches like Simpson's rule or Boole's rule, the trapezoidal rule generally provides less accuracy because it approximates the area under the curve as a series of trapezoids, which may not fit the actual curve as closely. The error of using the trapezoidal rule is proportional to the square of the width of the subintervals of the domain. Specifically, the error decreases as the number of subintervals increases and can be characterized by the difference between the actual area and the area of the trapezoids formed. Omitting higher-order terms, for a function f with continuous second derivative, the error is given by: \(E = -\frac{(b-a)^3}{12n^2}f''(c)\) for some \(c\). The smaller the subintervals (or the larger the number of segments), the closer the result from the trapezoidal rule to the actual area, but at the expense of more computations .

The Gauss-Seidel method, which iteratively refines solutions to systems of linear equations, is particularly effective for large, sparse systems often derived from discretizing partial differential equations (PDEs). When applying Gauss-Seidel, computational considerations include ensuring convergence, which is more likely when the system matrix is diagonally dominant. If the matrix condition is not naturally met, preconditioning or matrix transformation techniques may be necessary. Additionally, while Gauss-Seidel is generally more memory efficient than direct methods like Gaussian elimination, its convergence rate can be slow for certain problems, requiring numerous iterations to achieve a sufficiently small residual error. Proper initial guesses and relaxation techniques can dramatically improve its performance, as can componentwise control of iteration step size to facilitate convergence .

The finite difference method approximates derivatives by differences, providing a way to tackle boundary value problems numerically. For solving these problems, the method involves discretizing the entire domain and replacing the continuous differential equations with algebraic equations that approximate the solutions at discrete points. A significant implication is achieving convergence to the true solution, which requires careful consideration of discretization strategy, grid spacing, and boundary conditions. Properly chosen, the method can approximate PDEs reliably, but it can also suffer from stability issues and require substantial computational resources. The computational effort increases with the complexity of the problem and the density of the grid. Large systems of linear equations result, which often need iterative solvers like Gauss-Seidel, and errors can propagatively accumulate or dampen based on the numerical setup. Balancing grid resolution to minimize error while maintaining computational feasibility is a core challenge in practical applications .

You might also like