Docsity

Numerical Methods with complete Solution, Study notes of Numerical Methods in Engineering

Partial preview of the text

Download Numerical Methods with complete Solution and more Study notes Numerical Methods in Engineering in PDF only on Docsity!

3.3.2.4 Romberg Method (Integration) Numerical Methods with Complete Solution In order to obtain accurate results, we compute the integrals by trapezium or Simpson’s rules for a number of values of step lengths, each time reducing the step length. We stop the compu- tation, when convergence is attained (usually, the magnitude of the difference in successive values of the integrals obtained by reducing values of the step lengths is less than a given accuracy). Convergence may be obtained after computing the value of the integral with a number of step lengths. While computing the value of the integral with a particular step length, the values of the integral obtained earlier by using larger step lengths were not used. Further, convergence may be slow. Romberg method is a powerful tool which uses the method of extrapolation. We compute the value of the integral with a number of step lengths using the same method. Usually, we start with a coarse step length, then reduce the step lengths and re- compute the value of the integral. The sequence of these values converges to the exact value of the integral. Romberg method uses these values of the integral obtained with various step lengths, to refine the solution such that the new values are of higher order. That is, as if the results are obtained using a higher order method than the order of the method used. The extrapolation method is derived by studying the error of the method that is being used. Let us derive the Romberg method for the trapezium and Simpson’s rules. Romberg method for the trapezium rule Let the integral I= [ f (x)dx be computed by the composite trapezium rule. Let J denote the exact value of the integral and /; denote the value obtained by the composite trapezium rule. The error, J —J,,, in the composite trapezium rule in computing the integral is given by T-I,= c,h? + c,h* + cgh® + ... or T=1,+c,h? +c,ht+c.h° +... (3.49) where ¢,, Cy, Ca, -.. are independent of h. To illustrate the extrapolation procedure, first consider two error terms. T=1,+¢,h? + coh’. (3.50)