Professional Documents
Culture Documents
Lagatuz
NUMERICAL METHODS
A workbook
submitted to
Engr. Loreimay B. Andaya
in final fulfillment of the requirements in
ELECTRICAL ENGINEENIRING REVIEW
Richard A. Lagatuz
BSEE 4A
1
Numerical methods | Richard A. Lagatuz
FOREWORD
In this module, various information about different numerical methods are stated in
which each technique is provided with different problems that help its reader to further
understand the meaning and process of how this method can answer any mathematical and
complex real-life problem that requires an extensive calculation to carry out a solution. As
some of these methods are complicated to recognize, it requires a thorough comprehension of
the past topics about basic numerical analysis, mathematical expression, and the basic
foundation of differential and integral calculation. As we have the sufficient knowledge about
this matter we are able to apply that information to solve problems and utilize each method.
There are different types of numerical method in which some of it are not included in this
module and indicates only the definition with the general formula of each method that has
been collected from reliable resources across the web.
2
Numerical methods | Richard A. Lagatuz
TABLE OF CONTENTS
I. INTRODUCTION
V. Numerical Differentiation
a. Forward Finite-Divided Differences
b. Backward Finite-Divided Differences
c. Centred Finite-Divided Differences
3
Numerical methods | Richard A. Lagatuz
Introduction
In the area of mathematics called numerical analysis which in charge of coming up with
practical methods for calculating answers to difficult mathematical problems. The majority of
mathematical issues in science and engineering are extremely complicated and occasionally
unsolvable. In order to simplify a difficult mathematical issue, measurement is crucial. So
due to the advancement of our technology, several numerical methods are used in order to
create more accurate and reliable computing techniques that solved mathematical problems or
complex problems including real life issues in a faster way.
The creation, analysis, and application of algorithms for resolving numerical issues in
continuous mathematics are the main applications of the numerical analysis approach in
mathematics and computer science. These kinds of issues typically come up in the actual
world when algebra, geometry, and calculus are applied, and they also have continuous
variables.
Through numerical methods, it is possible to approximate mathematical operations it may
simple or complex mathematical expressions. Our inability to solve the operation analytically
or the difficulty of the analytical method necessitates the use of approximations like solving
numerous set of linear equations for a thousand unknowns. Understanding the importance of
these methods is necessary especially when solving the exact method results in error to real
life problem. It provides a great impact in analyzing dependent and independent components
regarding fluid, heat and various complex variables that gives an clearly answer.
4
Numerical methods | Richard A. Lagatuz
NUMERICAL METHOD
I. ROOT FINDING
a. Bisection method
A root-finding method that applies to any continuous function for which one knows
two values with opposite signs.
It is a very simple and robust method, but it is also relatively slow. Because of this, it
is often used to obtain a rough approximation to a solution which is then used as a
starting point for more rapidly converging methods.
c. Newton’s Method
Also known as the Newton–Raphson method, named after Isaac Newton and Joseph
Raphson. This is the fastest method, but requires analytical computation of the
derivative of f (x). Also, the method may not always converge to the desired root. It
produces successively better approximations to the roots (or zeroes) of a real-valued
function.
5
Numerical methods | Richard A. Lagatuz
d. Secant method
a. Gaussian Elimination
Also known as Row Reduction Algorithm for solving linear equations systems. It
consists of a sequence of operations performed on the corresponding matrix of
coefficients.
b. LU decomposition
6
Numerical methods | Richard A. Lagatuz
c. Gauss-Seidel Method
a. Linear Regression
Linear regression analysis is used to predict the value of a variable based on the
value of another variable. The variable you want to predict is called the dependent
variable. The variable you are using to predict the other variable's value is called the
independent variable.
7
Numerical methods | Richard A. Lagatuz
b. Polynomial Regression
8
Numerical methods | Richard A. Lagatuz
9
Numerical methods | Richard A. Lagatuz
Finite differences were introduced by Brook Taylor in 1715 and have also been
studied as abstract self-standing mathematical objects in works by George Boole
(1860), L. M. Milne-Thomson (1933), and Károly Jordan [de] (1939). Finite
differences trace their origins back to one of Jost Bürgi's algorithms (c. 1592) and
work by others including Isaac Newton. The formal calculus of finite differences can
be viewed as an alternative to the calculus of infinitesimals.
V. Numerical integration
10
Numerical methods | Richard A. Lagatuz
a. Trapezoidal rule
Trapezoidal Rule is a rule that evaluates the area under the curves by dividing the
total area into smaller trapezoids rather than using rectangles. This integration works
by approximating the region under the graph of a function as a trapezoid, and it
calculates the area.
b. Simpson’s rule
11
Numerical methods | Richard A. Lagatuz
c. Gauss Quadrature
12
Numerical methods | Richard A. Lagatuz
The most basic explicit method for numerical integration of ordinary differential
equations and is the simplest Runge–Kutta method.
The Euler method is a first-order method, which means that the local error (error per
step) is proportional to the square of the step size, and the global error (error at a
given time) is proportional to the step size.
13
Numerical methods | Richard A. Lagatuz
Ralston's method is a second-order method with two stages and a minimum local
error bound.
The most commonly used Runge Kutta method to find the solution of a differential
equation is the RK4 method, i.e., the fourth-order Runge-Kutta method. The
Runge-Kutta method provides the approximate value of y for a given point x.
14
Numerical methods | Richard A. Lagatuz
SAMPLE PROBLEM
1. Find the root of the equation x e^x = cosx using the Secant method correct to four decimal
places.
15
Numerical methods | Richard A. Lagatuz
4. Using Regula Falsi Method, compute the real root of the equation x ex – 2 = 0 correct up
to three decimals places.
16
Numerical methods | Richard A. Lagatuz
17
Numerical methods | Richard A. Lagatuz
18
Numerical methods | Richard A. Lagatuz
19
Numerical methods | Richard A. Lagatuz
20
Numerical methods | Richard A. Lagatuz
21
Numerical methods | Richard A. Lagatuz
22
Numerical methods | Richard A. Lagatuz
23
Numerical methods | Richard A. Lagatuz
24
Numerical methods | Richard A. Lagatuz
25
Numerical methods | Richard A. Lagatuz
26
Numerical methods | Richard A. Lagatuz
27
Numerical methods | Richard A. Lagatuz
28
Numerical methods | Richard A. Lagatuz
29
Numerical methods | Richard A. Lagatuz
REFERENCE
(2022, May 2). Gauss Elimination Method | Meaning and Solved Example. BYJUS.
https://byjus.com/maths/gauss-elimination-
method/#:~:text=In%20mathematics%2C%20the%20Gaussian%20elimination,rank%
20of%20the%20given%20matrix
GeeksforGeeks. (2022, November 14). Newton s Divided Difference Interpolation
Formula. https://www.google.com/amp/s/www.geeksforgeeks.org/newtons-divided-
difference-interpolation-formula/amp/
(2022b, November 9). LU Decomposition | LU Decomposition Method of
Factorisation Steps. BYJUS. https://byjus.com/maths/lu-decomposition/
(2022b, May 2). The Jacobi and Gauss-Seidel Iterative Methods. BYJUS.
https://byjus.com/maths/iterative-methods-gauss-seidel-and-
jacobi/#:~:text=Gauss%2DSeidel%20Method,of%20accuracy%20within%20fewer%
20iterations.
Introduction to Numerical Methods/Roots of Equations - Wikibooks, open books for
an open world. (n.d.).
https://en.m.wikibooks.org/wiki/Introduction_to_Numerical_Methods/Roots_of_Equa
tions
(2022b, April 28). False Position Method (Regula Falsi Method) - Formulas, Solved
Example. BYJUS. https://byjus.com/maths/false-position-
method/#:~:text=The%20false%20position%20method%20is,the%20roots%20of%20
the%20equation.
8.7 Numerical Integration‣ Chapter 8 Techniques of Integration ‣ Calculus II. (n.d.).
https://sites.und.edu/timothy.prescott/apex/web/apex.Ch8.S7.html
o (2022e, August 26). Trapezoidal Rule for Integration (Definition, Formula,
and Examples). BYJUS. https://byjus.com/maths/trapezoidal-rule/
(2021b, December 7). Simpson’s Rule For Integration - Definition and Formula for
1/3 & 3/8 Rule. BYJUS. https://byjus.com/maths/simpsons-rule/#formula
Euler Method for solving differential equation - GeeksforGeeks. (n.d.).
https://www.geeksforgeeks.org/euler-method-solving-differential-equation/amp/
Wikipedia contributors. (2023, January 12). Heun’s method. Wikipedia.
https://en.m.wikipedia.org/wiki/Heun%27s_method#:~:text=Heun's%20Method%20c
onsiders%20the%20tangent,alone%2C%20approximated%20using%20Euler's%20M
ethod.
30