Maths Micro Project Semester 2
Maths Micro Project Semester 2
Education
Diploma in
“Computer Engineering 2I”
GUIDANCE
01 Certificate 01
02 Submission 02
03 Acknowledgement 03
Part – A
1. Aim
2. Course Out Come
04 04 - 05
3. Proposed Methodology
4. Action Plan
Part – B
Certificate
This is to certify that the following students of this institute have carried
out this micro-project work on “Write algorithm to find approximate roots
of algebraic equations” under the guidance of Mr. Y. M. Y. Pathan Sir
lecture in Mathematics during the session 2021-2022. This work has been
done in the partial fulfilment of the award for in Computer Engineering
from Maharashtra State Board of Technical Education, Mumbai.
SUBMITTED BY
Principal
Govt. Poly. Gadchiroli.
Page 1 of
17
GOVERNMENT POLYTECHNIC, GADCHIROLI
DEPARTMENT OF COMPUTER ENGINEERING
SUBMISSION
We, the students of First year of Department of Computer
Engineering, humbly completed this Micro-project work on “Write
algorithm to find approximate roots of algebraic equations ” for time to
time as described in This report by our own skill and study between the
periods from 2021-2022
As per instruction and guidance of Mr. Y. M. Y. Pathan Sir and
following students were associated with us for this work. However,
quantum of our contribution has been approved by the guide.
Page 2 of
17
ACKNOWLEDGEMENT
Page 3 of 17
Part-A Micro project proposal
(format for micro project proposal A about 2-3 pages)
(a) Students are able to solve the problem of roots of algebraic equations.
r o o t s o f a l g e b r a i c e q u a ti o n s .
First we all our group members select our topic of micro project. After
selecting the topic of our micro project we all discuss on our micro project.
About which members are gathered the information about micro project.
Which students are working on micro project and last is printing and typing the
micro project. We all distributed works in group and go for next process.
Page 44 of 17
5.0 Action Plan
Page 5 of 17
Part –B Micro project
Report
(Outcomes after Execution) Format for Micro project Report (Minimum 6
pages)
1.0 Rationale
The project is to students are also to write algorithm to find the
approximate roots of algebraic equations all the student remove his own
confusion about roots of algebraic equations . This micro project helps the
student’s to know about approximate roots of algebraic equation.
B) This micro project helps the students to understand roots of algebraic equation.
Page 1717 of
17
4.0 Literature Review
1. Bracketing methods
False position is similar to the secant method, except that, instead of retaining the
last two points, it makes sure to keep one point on either side of the root. The false
position method can be faster than the bisection method and will never diverge like
the secant method; however, it may fail to converge in some naive implementations
due to roundoff errors that may lead to a wrong sign for f(c); typically, this may occur
if the rate of variation of f is large in the neighborhood of the root.
ITP method
The ITP method is the only known method to bracket the root with the same worst
case guarantees of the bisection method while guaranteeing a superlinear
convergence to the root of smooth functions as the secant method. It is also the only
known method guaranteed to outperform the bisection method on the average for
any continuous distribution on the location of the root (see ITP Method#Analysis). It
does so by keeping track of both the bracketing interval as well as the minmax
interval in which any point therein converges as fast as the bisection method. The
construction of the queried point c follows three steps: interpolation (similar to the
Page 1919 of
17
regula falsi), truncation (adjusting the regula falsi similar to Regula falsi §
Improvements in regula falsi) and then projection onto the minmax interval. The
combination of these steps produces a simultaneously minmax optimal method with
guarantees similar to interpolation based methods for smooth functions, and, in
practice will outperform both the bisection method and interpolation based methods
under both smooth and non-smooth functions.
2. Interpolation
Many root-finding processes work by interpolation. This consists in using the last
computed approximate values of the root for approximating the function by a
polynomial of low degree, which takes the same values at these approximate roots.
Then the root of the polynomial is computed and used as a new approximate value
of the root of the function, and the process is iterated.
Two values allow interpolating a function by a polynomial of degree one (that is
approximating the graph of the function by a line). This is the basis of the secant
method. Three values define a quadratic function, which approximates the graph of
the function by a parabola. This is Muller's method.
Regula falsi is also an interpolation method, which differs from the secant method by
using, for interpolating by a line, two points that are not necessarily the last two
computed points.
3. Roots of polynomials
Finding roots of polynomial is a long-standing problem that has been the object of
much research throughout history. A testament to this is that up until the 19th
century algebra meant essentially theory of polynomial equations.
Finding the root of a linear polynomial (degree one) is easy and needs only one
division. For quadratic polynomials (degree two), the quadratic formula produces a
solution, but its numerical evaluation may require some care for ensuring numerical
stability. For degrees three and four, there are closed-form solutions in terms of
radicals, which are generally not convenient for numerical evaluation, as being too
complicated and involving the computation of several nth roots whose computation
is not easier than the direct computation of the roots of the polynomial (for example
the expression of the real roots of a cubic polynomial may involve non-real cube
roots). For polynomials of degree five or higher Abel–Ruffini theorem asserts that
there is, in general, no radical expression of the roots.
So, except for very low degrees, root finding of polynomials consists of finding
approximations of the roots. By the fundamental theorem of algebra, one knows that
a polynomial of degree n has at most n real or complex roots, and this number is
reached for almost all polynomials.
Page 2020 of
17
It follows that the problem of root finding for polynomials may be split in three
different sub problems;
Page 2121 of
17
When one root r has been found, one may use Euclidean division for removing the
factor x – r from the polynomial. Computing a root of the resulting quotient, and
repeating the process provides, in principle, a way for computing all roots. However,
this iterative scheme is numerically unstable; the approximation errors accumulate
during the successive factorizations, so that the last roots are determined with a
polynomial that deviates widely from a factor of the original polynomial. To reduce
this error, one may, for each root that is found, restart Newton's method with the
original polynomial, and this approximate root as starting value.
When applying these methods to polynomials with real coefficients and real starting
points, Newton's and Halley's method stay inside the real number line. One has to
choose complex starting points to find complex roots. In contrast, the Laguerre
method with a square root in its evaluation will leave the real axis of its own accord.
Page 2222 of
17
o Real-root isolation
Finding the real roots of a polynomial with real coefficients is a problem that has
received much attention since the beginning of 19th century, and is still an active
domain of research. Most root-finding algorithms can find some real roots, but
cannot certify having found all the roots. Methods for finding all complex roots, such
as Aberth method can provide the real roots. However, because of the numerical
instability of polynomials (see Wilkinson's polynomial), they may need arbitrary-
precision arithmetic for deciding which roots are real. Moreover, they compute all
complex roots when only few are real.
It follows that the standard way of computing real roots is to compute first disjoint
intervals, called isolating intervals, such that each one contains exactly one real root,
and together they contain all the roots. This computation is called real-root isolation.
Having isolating interval, one may use fast numerical methods, such as Newton's
method for improving the precision of the result.
Page 2323 of
17
6.0 Actual Resource used
Page 2424 of
17