# Study On The Applications Of Numerical Analysis Computer Science Essay

**Published:** **Last Edited:**

This essay has been submitted by a student. This is not an example of the work written by our professional essay writers.

It finds applications in all fields of engineering and the physical sciences, but in the 21stÂ century, the life sciences and even the arts have adopted elements of scientific computations.Â Ordinary differential equationsÂ appear in theÂ movement of heavenly bodies (planets, stars and galaxies);Â optimizationÂ occurs in portfolio management;Â numerical linear algebraÂ is important for data analysis;Â stochastic differential equationsÂ andÂ Markov chainsÂ are essential in simulating living cells for medicine and biology.

Before the advent of modern computers numerical methods often depended on handÂ interpolationÂ in large printed tables. Since the mid 20th century, computers calculate the required functions instead. The interpolationÂ algorithmsÂ nevertheless may be used as part of the software for solvingÂ differential equations.

INTRODUCTION TO NUMERICAL ANALYSIS AND METHODS

The overall goal of the field of numerical analysis is the design and analysis of techniques to give approximate but accurate solutions to hard problems, the variety of which is suggested by the following.

Advanced numerical methods are essential in makingÂ numerical weather predictionÂ feasible.

Computing the trajectory of a spacecraft requires the accurate numerical solution of a system ofÂ ordinary differential equations.

Car companies can improve the crash safety of their vehicles by using computer simulations of car crashes. Such simulations essentially consist of solvingÂ partial differential equationsÂ numerically.

Hedge fundsÂ (private investment funds) use tools from all fields of numerical analysis to calculate the value of stocks and derivatives more precisely than other market participants.

Airlines use sophisticated optimization algorithms to decide ticket prices, airplane and crew assignments and fuel needs. This field is also calledÂ operations research.

Insurance companies use numerical programs forÂ actuarialÂ analysis.

The rest of this section outlines several important themes of numerical analysis.

## History of Numerical Analysis

The field of numerical analysis predates the invention of modern computers by many centuries.Â Linear interpolationÂ was already in use more than 2000 years ago. Many great mathematicians of the past were preoccupied by numerical analysis, as is obvious from the names of important algorithms likeÂ Newton's method,Â Lagrange interpolation polynomial,Gaussian elimination, orÂ Euler's method.

To facilitate computations by hand, large books were produced with formulas and tables of data such as interpolation points and function coefficients. Using these tables, often calculated out to 16 decimal places or more for some functions, one could look up values to plug into the formulas given and achieve very good numerical estimates of some functions. The canonical work in the field is theÂ NISTÂ publication edited byÂ Abramowitz and Stegun, a 1000-plus page book of a very large number of commonly used formulas and functions and their values at many points. The function values are no longer very useful when a computer is available, but the large listing of formulas can still be very handy.

TheÂ mechanical calculatorÂ was also developed as a tool for hand computation. These calculators evolved into electronic computers in the 1940s, and it was then found that these computers were also useful for administrative purposes. But the invention of the computer also influenced the field of numerical analysis, since now longer and more complicated calculations could be done.

## Direct and iterative methods

Direct methods compute the solution to a problem in a finite number of steps. These methods would give the precise answer if they were performed inÂ infinite precision arithmetic. Examples includeÂ Gaussian elimination, theÂ QRÂ factorization method for solvingÂ systems of linear equations, and theÂ simplex methodÂ ofÂ linear programming. In practice,Â finite precisionÂ is used and the result is an approximation of the true solution (assumingÂ stability).

In contrast to direct methods,Â iterative methodsÂ are not expected to terminate in a number of steps. Starting from an initial guess, iterative methods form successive approximations thatÂ convergeÂ to the exact solution only in the limit. AÂ convergence testÂ is specified in order to decide when a sufficiently accurate solution has (hopefully) been found. Even using infinite precision arithmetic these methods would not reach the solution within a finite number of steps (in general). Examples includeÂ Newton's method, theÂ bisection method, andÂ Jacobi iteration. In computational matrix algebra, iterative methods are generally needed for large problems.

Iterative methods are more common than direct methods in numerical analysis. Some methods are direct in principle but are usually used as though they were not, e.g.Â GMRESÂ and theÂ conjugate gradient method. For these methods the number of steps needed to obtain the exact solution is so large that an approximation is accepted in the same manner as for an iterative method.

## Discretization

Furthermore, continuous problems must sometimes be replaced by a discrete problem whose solution is known to approximate that of the continuous problem; this process is calledÂ discretization. For example, the solution of aÂ differential equationÂ is a function. This function must be represented by a finite amount of data, for instance by its value at a finite number of points at its domain, even though this domain is a continuum.

## Different Areas And Methods under Numerical Analysis

The field of numerical analysis is divided into different disciplines according to the problem that is to be solved.

One of the simplest problems is the evaluation of a function at a given point. The most straightforward approach, of just plugging in the number in the formula is sometimes not very efficient. For polynomials, a better approach is using theÂ Horner scheme, since it reduces the necessary number of multiplications and additions. Generally, it is important to estimate and controlÂ round-off errorsÂ arising from the use ofÂ floating pointÂ arithmetic.

## Interpolation, extrapolation, and regression

InterpolationÂ solves the following problem: given the value of some unknown function at a number of points, what value does that function have at some other point between the given points?

ExtrapolationÂ is very similar to interpolation, except that now we want to find the value of the unknown function at a point which is outside the given points.

RegressionÂ is also similar, but it takes into account that the data is imprecise. Given some points, and a measurement of the value of some function at these points (with an error), we want to determine the unknown function. TheÂ least squares-method is one popular way to achieve this.

## Solving equations and systems of equations

Another fundamental problem is computing the solution of some given equation. Two cases are commonly distinguished, depending on whether the equation is linear or not. For instance, the equationÂ 2xÂ + 5 = 3Â is linear whileÂ 2x2Â + 5 = 3Â is not.

Much effort has been put in the development of methods for solvingÂ systems of linear equations. Standard direct methods, i.e., methods that use someÂ matrix decompositionÂ areÂ Gaussian elimination,Â LU decomposition,Â Cholesky decompositionÂ forÂ symmetricÂ (orÂ hermitian) andÂ positive-definite matrix, andÂ QR decompositionÂ for non-square matrices.Â Iterative methodsÂ such as theÂ Jacobi method,Â Gauss-Seidel method,Â successive over-relaxationÂ andÂ conjugate gradient methodÂ are usually preferred for large systems.

Root-finding algorithmsÂ are used to solve nonlinear equations (they are so named since a root of a function is an argument for which the function yields zero). If the function isÂ differentiableÂ and the derivative is known, thenÂ Newton's methodÂ is a popular choice.Â LinearizationÂ is another technique for solving nonlinear equations.

## Solving eigenvalue or singular value problems

Several important problems can be phrased in terms ofÂ eigenvalue decompositionsÂ orÂ singular value decompositions. For instance, thespectral image compressionÂ algorithmÂ is based on the singular value decomposition. The corresponding tool in statistics is calledprincipal component analysis.

## Optimization

Optimization problems ask for the point at which a given function is maximized (or minimized). Often, the point also has to satisfy someconstraints.

The field of optimization is further split in several subfields, depending on the form of the objective function and the constraint. For instance,Â linear programmingÂ deals with the case that both the objective function and the constraints are linear. A famous method in linear programming is theÂ simplex method.

The method ofÂ Lagrange multipliersÂ can be used to reduce optimization problems with constraints to unconstrained optimization problems.

## Evaluating integrals

Numerical integration, in some instances also known as numericalÂ quadrature, asks for the value of a definiteÂ integral. Popular methods use one of theÂ Newton-Cotes formulasÂ (like the midpoint rule orÂ Simpson's rule) orÂ Gaussian quadrature. These methods rely on a "divide and conquer" strategy, whereby an integral on a relatively large set is broken down into integrals on smaller sets. In higher dimensions, where these methods become prohibitively expensive in terms of computational effort, one may useÂ Monte CarloÂ orÂ quasi-Monte Carlo methodsÂ (seeÂ Monte Carlo integration), or, in modestly large dimensions, the method ofÂ sparse grids.

## Differential equations

Numerical analysis is also concerned with computing (in an approximate way) the solution ofÂ differential equations, both ordinary differential equations andÂ partial differential equations.

Partial differential equations are solved by first discretizing the equation, bringing it into a finite-dimensional subspace. This can be done by aÂ finite element method, aÂ finite differencemethod, or (particularly in engineering) aÂ finite volume method. The theoretical justification of these methods often involves theorems fromÂ functional analysis. This reduces the problem to the solution of an algebraic equation.

## Applications Of Numerical Analysis Methods and Its Real Life Implementations, Advantages Etc.

## NEWTON RAPHSON METHOD:

ORDER OF CONVERGENCE: 2 ADVANTAGES: 1. The advantage of the method is its order of convergence is quadratic. 2. Convergence rate is one of the fastest when it does converges 3. Linear convergence near multiple roots.

REGULA FALSI METHOD: ORDER OF CONVERGENCE: 1.618 ADVANTAGES: 1. Better-than-linear convergence near simple root 2. Linear convergence near multiple root 3. No derivative needed DISADVANTAGES 1. Iterates may diverge 2. No practical & rigorous error bound

## GAUSS ELIMINATION METHOD:

## ADVANTAGES:

It is the direct method of solving linear simultaneous equations. 2. It uses back substitution. 3. It is reduced to equivalent upper triangular matrix.: 1. It requires right vectors to be known.

GAUSS JORDAN: ADVANTAGES: 1. It is direct method. 2. The roots of the equation are found immediately without using back substitution.

. It is reduced to equivalent identity matrix. The additional steps increase round off errors. 2. It requires right vectors to be known.

## GAUSS JACOBI METHOD:

1. It is iterative method. 2. The system of equations must be diagonally dominant. 3. It suits better for large numbers of unknowns 4. It is self correcting method.

## GAUSS SEIDEL METHOD:

1. It is iterative method. 2. The system of equations must be diagonally dominant. 3. It suits better for large numbers of unknowns 4. It is self correcting method. 5. The number of iterations is less than Jacobi method.

## Real life Applications

Area of mathematics and computer science.

Applications of algebra

Geometry

Calculus

Variables which vary continuously.

Problems(application areas)

1. Natural sciences

2. Social sciences

3. Engineering

4. Medicine

5. Business.(in financial industry)

Tools of numerical analysis

## Most powerful tools of numerical analysis

àComputer graphics

àSymbolic mathematical computations

àGraphical user interfaces

Numerical analysis is needed to solve engineering problems that lead to equations that cannot be solved analytically with simple formulas.

Examples are solutions of largeÂ systemsÂ of algebraic equations, evaluation of integrals, and solution of differential equations. The finite element method is a numerical method that is in widespread use to solve partial differential equations in a variety of engineering fields including stress analysis, fluid dynamics, heat transfer, and electro-magnetic fields.

## In hydro static pressure processing

In high hydrostatic pressure (HHP) processing, food and biotechnological substances are compressed up to 1000 M Pa to achieve various pressure-induced conversions such as microbial and enzyme inactivation's, phase transitions of proteins, and solid-liquid state transitions.

From the point of view of thermodynamics, Heat transfer leads to space-time-dependent temperature fields that affect many pressure-induced conversions and produce undesired process non uniformities

Effects related to HHP processing can be studied appropriately by use of numerical analysis because in situ measurement techniques are barely available, optical accessibility is hardly possible, and technical equipment is expensive.

This reports on two examples, where numerical analysis is applied successfully and delivers substantial insights into the phenomenon of high-pressure processing.

## Calculation

E.g TSP problem (traveling salesman problem)

to travel no. of cities in such a way that the expenses on traveling are minimized.

à NP-complete problem.

à optimal solution we have to go through all possible routes

à numbers of routes increases exponential with the numbers of cities.

## Modern Applications and Computer Software

Sophisticated numerical analysis software is being embedded in popular software packages

e.g. spreadsheet programs.

## Buisness Applications:-

Modern business makes much use of optimization methods in deciding how to allocate resources most efficiently. These include problems such as inventory control,scheduling, how best to locate manufacturing storage facilities, investment strategies,and others.

## In Financial Industry

Quantitative analysts developing financial applications have specialized expertise in their area of analysis.

Algorithms used for numerical analysis range from basic numerical functions to calculate interest income to advanced functions that offer specialized optimization and forecasting techniques.

## Sample Finance Applications

Three common examples from the financial services industry that require numerical algorithms are:

â€¢ Portfolio selection

â€¢ Option pricing

â€¢ Risk management

## Â In market

Given the broad range of numerical tools available a financial services provider can develop targeted applications that address specific market needs. For example, quantitative analysts developing financial applications have specialized expertise in their area of analysis.