Higher-Order Newton-Cotes Formulas

Size: px
Start display at page:

Download "Higher-Order Newton-Cotes Formulas"

Transcription

1 Journal of Mathematics and Statistics 6 (): 19-0, 010 ISSN Science Publications Higher-Order Newton-Cotes Formulas Pedro Americo Almeida Magalhaes Junior and Cristina Almeida Magalhaes Pontificia Universidade Catolica de Minas Gerais, Av. Dom Jose Gaspar 500, , Belo Horizonte, Minas Gerais, Brazil Abstract: Problem statement: The present work offers equations of Newton-Cotes Integration until twenty segments. Approach: It shows Newton-Cotes closed and open integration formulas. The new type Newton-Cotes semi-closed or semi-open was proposed. Results: An analysis of error in the technique was made. To estimate the error of integration in discrete data, we propose apply different rules or mix several rules. Conclusion/Recommendations: The difference in the result of each formula provides an approximation of the error. Computational routines to generate Newton-Cotes integration rules were presented. Key words: Numerical methods, numerical integration, quadrature, Newton-cotes, higher-order, analysis of error INTRODUCTION The evaluation of integrals, a process known as integration or quadrature, is required in many problems in engineering and science (Sermutlu, 005). The function f(x), which is to be integrated, may be a known function or a set of discrete data. Some known functions have an exact integral, in which case can be evaluated exactly in closed form. Many known functions, however, do not have an exact integral and an approximate numerical procedure is required to evaluate. In many cases, the function f(x) is known only at a set of discrete points, in which case an approximate numerical procedure is again required to evaluate (Simos, 008). Numerical integration (quadrature) formulas can be developed by fitting approximating functions (e.g., polynomials) to discrete data and integrating the approximating function: xn x 1 + (N 1)h (1) I = f(x)dx P(x)dx x1 x1 When the function to be integrated is known at equally spaced points (Δx = h = constant) and N is number of points with x ranging x 1, x 1 +h, x 1 +h,, x 1 +(N-1)h. The polynomial can be fit to the discrete data with much less effort, thus significantly decreasing the amount of effort required (Simos, 008). The resulting formulas are called Newton-cotes formulas. The distance between the lower and upper limits of integration is called the range of integration. The distance between any two data points is called an increment (Δx = h). A linear polynomial requires one increment and two data points to obtain a fit. A quadratic polynomial requires two increments and three data points to obtain a fit. And so on for higher-degree polynomials. The group of increments required to fit a polynomial is called an interval (Kalogiratou and Simos, 00). A linear polynomial requires an interval consisting of only one increment. A quadratic polynomial requires an interval containing two increments. And so on. The total range of integration can consist of one or more intervals. Each interval consists of one or more increments, depending on the degree of the approximating polynomial. Closed and open forms of Newton-Cotes formulas are available. The closed forms are those where the data points at the beginning and end of the limits of integration are known. The open forms have integration limits that extend beyond the range of the data (Witteveen et al., 009). MATERIALS AND METHODS Newton-cotes closed integration equation: The rule for a single interval is obtained by fitting a first-degree polynomial to two discrete points (Sermutlu and Eyyubog lu, 007). The upper limit of integration is x = x 1 +h, then the integral (I) have the formula: h I = ( y1+ y) or I = 0.5hy1+ 0.5hy Error O( h ) () Corresponding Author: Pedro Americo Almeida Magalhaes Junior, Pontificia Universidad Catolica de Minas Gerais, Av. Dom Jose Gaspar 500, , Belo Horizonte, Minas Gerais, Brazil Tel:

2 J. Math. & Stat., 6 (): 19-0, 010 Simpson s 1/ rule is obtained by fitting a seconddegree polynomial to three equally spaced discrete points. The upper limit of integration is x, then: h I = ( y1+ y + y) or Error O( h ) I = 0.hy1 + 1.hy + 0.hy () Simpson s /8 rule is obtained by fitting a thirddegree polynomial to four equally spaced discrete points. The upper limit of integration is x, then: h I = y + y + y + y or Error O h 8 I = 0.75hy hy hy hy ( 1 ) ( ) 1 () Boole s rule is obtained by fitting a fourth-degree polynomial to five equally spaced discrete points. The upper limit of integration is x 5, then: h 6 I = (7y 1+ y + 1 y + y +7 y 5) or Error O( h ) 5 I = hy1 + 1.hy + 0.5hy 1.hy hy 5 (5) Generally, have the closed formulas, where N is number of points, ci are integer coefficients and cr are real coefficients: num I= h(ciy 1 1+ciy +ciy +ci y +... den +cin y N +cin 1y N 1+ciNy N) or cr 1 y1+ cr y + cr y +... I= h + cr N yn + cr N 1yN 1+ cr Ny N (6) upper limit of integration is x = x 1 +h, then the integral (I) have the formula: ( ) ( ) I = h y or I = hy Error O h (7) For three intervals, the rule is obtained by fitting a first-degree polynomial to four discrete points. The upper limit of integration is x = x 1 +h, then the integral (I) have the formula: h I = ( y + y) or I = 1.5hy + 1.5hy Error O( h ) (8) For N = 5, the rule is obtained by fitting a seconddegree polynomial to four equally spaced discrete points. The upper limit of integration is x 5, then: h I = ( y y+ y) or Error O( h ) I = hy 1.hy hy (9) For N = 6, the rule is obtained by fitting a thirddegree polynomial to five equally spaced discrete points. The upper limit of integration is x 6, then: 5h I = (11 y + y + y +11 y 5) or Error O( h ) I = hy hy hy hy + 5 (11) Generally, have the open formulas, where N is number of points, ci are integer coefficients and cr are real coefficients: num I= h(ciy +ciy +ci y +...+cin y N +cin 1y N 1) den or I = h cr y + cr y cr y + cr y ( ) N N N 1 N 1 (1) RESULTS AND DISCUSSION The Table 1 and shows of coefficients for higher order closed integration formulas. Figure 1 shows the generation of rules in Maple 1.0. Newton-cotes open integration equation: In the open integration formulas, the first (y 1 ) and last (y N ) point does not appear in equation. The midpoints rule for a Fig. 1: Verification Newton-cotes closed integration double interval is obtained by fitting a zero-degree formulas with maple 1.0. (number of points polynomial to three discrete points (Espelid, 00). The N =..105) 19

3 J. Math. & Stat., 6 (): 19-0, 010 Table 1: Newton-cotes closed integration formulas with points =.1 Rule Integer coefficient Real coefficient Trapezoidal rule num = 1 Points (N) = den = Segments (N-1) = 1 ci 1 = ci = 1 cr 1 = cr = Error»O (h ) Simpson s 1/ rule num = 1 Points (N) = den = Segments (N-1) = ci 1 = ci = 1 cr 1 = cr = +0. Error»O (h ) ci = cr = +1. Simpson s /8 rule num = Points (N) = den = 8 Segments (N-1) = ci 1 = ci = 1 cr 1 = cr = Error»O (h ) ci = ci = cr = cr = Boole s rule num = Points (N) = 5 den = 5 Segments (N-1) = ci 1 = ci 5 = 7 cr 1 = cr 5 = Error»O (h 6 ) ci = ci = cr = cr = +1. ci = 1 cr = +0.5 Points (N) = 6 den = 88 Segments (N-1) = 5 ci 1 = ci 6 = 19 cr 1 = cr 6 = Error»O (h 6 ) ci = ci 5 = 75 cr = cr 5 = ci = ci = 50 cr = cr = num = 1 Points (N) = 7 den = 10 Segments (N-1) = 6 ci 1 = ci 7 = 1 cr 1 = cr 7 = Error»O (h 8 ) ci = ci 6 = 16 cr = cr 6 = ci = ci 5 = 7 cr = cr 5 = ci = 7 cr = num = 7 Points (N) = 8 den = 1780 Segments (N-1) = 7 ci 1 = ci 8 = 751 cr 1 = cr 8 = Error»O (h 8 ) ci = ci 7 = 577 cr = cr 7 = ci = ci 6 = 1 cr = cr 6 = ci = ci 5 = 989 cr = cr 5 = num = Points (N) = 9 den = 1175 Segments (N-1) = 8 ci 1 = ci 9 = 989 cr 1 = cr 9 = Error»O (h 10 ) ci = ci 8 = 5888 cr = cr 8 = ci = ci 7 = -98 cr = cr 7 = ci = ci 6 = 1096 cr = cr 6 = ci 5 = -50 cr 5 = num = 9 Points (N) = 10 den = Segments (N-1) = 9 ci 1 = ci 10 = 857 cr 1 = cr 10 = Error»O (h 10 ) ci = ci 9 = 1571 cr = cr 9 = ci = ci 8 = 1080 cr = cr 8 = ci = ci 7 = 19 cr = cr 7 = ci 5 = ci 6 = 5778 cr 5 = cr 6 = Points (N) = 11 den = 9976 Segments (N-1) = 10 ci 1 = ci 11 = cr 1 = cr 11 = Error»O (h 1 ) ci = ci 10 = cr = cr 10 = ci = ci 9 = -855 cr = cr 9 = ci = ci 8 = 700 cr = cr 8 = ci 5 = ci 7 = cr 5 = cr 7 = ci 6 = 768 cr 6 = num = 11 Points (N) = 1 den = Segments (N-1) = 11 ci 1 = ci 1 = cr 1 = cr 1 = Error»O (h 1 ) ci = ci 11 = cr = cr 11 = ci = ci 10 = -711 cr = cr 10 = ci = ci 9 = cr = cr 9 = ci 5 = ci 8 = cr 5 = cr 8 = ci 6 = ci 7 = cr 6 = cr 7 =

4 J. Math. & Stat., 6 (): 19-0, 010 Table 1: Continued num = 1 Points (N) = 1 den = Segments (N-1) = 1 ci 1 = ci 1 = cr 1 = cr 1 = Error»O (h 1 ) ci = ci 1 = cr = cr 1 = ci = ci 11 = cr = cr 11 = ci = ci 10 = cr = cr 10 = ci 5 = ci 9 = cr 5 = cr 9 = ci 6 = ci 8 = cr 6 = cr 8 = ci 7 = cr 7 = num = 1 Points (N) = 1 den = Segments (N-1) = 1 ci 1 = ci 1 = cr 1 = cr 1 = Error»O (h 1 ) ci = ci 1 = cr = cr 1 = ci = ci 1 = cr = cr 1 = ci = ci 11 = cr = cr 11 = ci 5 = ci 10 = cr 5 = cr 10 = ci 6 = ci 9 = cr 6 = cr 9 = ci 7 = ci 8 = cr 7 = cr 8 = Table : Newton-cotes closed integration formulas with points = 15.1 Rule Integer coefficient Real coefficient num = 7 Points (N) = 15 den = Segments (N-1) = 1 ci 1 = ci 15 = cr 1 = cr 15 = Error»O (h 16 ) ci = ci 1 = cr = cr 1 = ci = ci 1 = cr = cr 1 = ci = ci 1 = cr = cr 1 = ci 5 = ci 11 = cr 5 = cr 11 = ci 6 = ci 10 = cr 6 = cr 10 = ci 7 = ci 9 = cr 7 = cr 9 = ci 8 = cr 8 = Points (N) = 16 den = Segments (N-1) = 15 ci 1 = ci 16 = 5100 cr 1 = cr 16 = Error»O (h 16 ) ci = ci 15 = cr = cr 15 = ci = ci 1 = cr = cr 1 = ci = ci 1 = cr = cr 1 = ci 5 = ci 1 = cr 5 = cr 1 = ci 6 = ci 11 = cr 6 = cr 11 = ci 7 = ci 10 = cr 7 = cr 10 = ci 8 = ci 9 = cr 8 = cr 9 = num = 8 Points (N) = 17 den = Segments (N-1) = 16 ci 1 = ci 17 = cr 1 = cr 17 = Error»O (h 18 ) ci = ci 16 = cr = cr 16 = ci = ci 15 = cr = cr 15 = ci = ci 1 = cr = cr 1 = ci 5 = ci 1 = cr 5 = cr 1 = ci 6 = ci 1 = cr 6 = cr 1 = ci 7 = ci 11 = cr 7 = cr 11 = ci 8 = ci 10 = cr 8 = cr 10 = ci 9 = cr 9 = num = 17 Points (N) = 18 den = Segments (N-1) = 17 ci 1 = ci 18 = cr 1 = cr 18 = Error»O (h 18 ) ci = ci 17 = cr = cr 17 = ci = ci 16 = cr = cr 16 = ci = ci 15 = cr = cr 15 = ci 5 = ci 1 = cr 5 = cr 1 = ci 6 = ci 1 = cr 6 = cr 1 = ci 7 = ci 1 = cr 7 = cr 1 = ci 8 = ci 11 = cr 8 = cr 11 = ci 9 = ci 10 = cr 9 = cr 10 = num = Points (N) = 19 den =

5 J. Math. & Stat., 6 (): 19-0, 010 Table : Continued Segments (N-1) = 18 ci 1 = ci 19 = cr 1 = cr 19 = Error»O (h 0 ) ci = ci 18 = cr = cr 18 = ci = ci 17 = cr = cr 17 = ci = ci 16 = cr = cr 16 = ci 5 = ci 15 = cr 5 = cr 15 = ci 6 = ci 1 = cr 6 = cr 1 = ci 7 = ci 1 = cr 7 = cr 1 = ci 8 = ci 1 = cr 8 = cr 1 = ci 9 = ci 11 = cr 9 = cr 11 = ci 10 = cr 10 = num = 19 Points (N) = 0 den = Segments (N-1) = 19 ci 1 = ci 0 = cr 1 = cr 0 = Error»O (h 0 ) ci = ci 19 = cr = cr 19 = ci = ci 18 = cr = cr 18 = ci = ci 17 = cr = cr 17 = ci 5 = ci 16 = cr 5 = cr 16 = ci 6 = ci 15 = cr 6 = cr 15 = ci 7 = ci 1 = cr 7 = cr 1 = ci 8 = ci 11 = cr 8 = cr 1 = ci 9 = ci 1 = cr 9 = cr 1 = ci 10 = ci 11 = cr 10 = cr 11 = num = 1 Points (N) = 1 den = Segments (N-1) = 0 ci 1 = ci 1 = cr 1 = cr 1 = Error»O (h ) ci = ci 0 = cr = cr 0 = ci = ci 19 = cr = cr 19 = ci = ci 18 = cr = cr 18 = ci 5 = ci 17 = cr 5 = cr 17 = ci 6 = ci 16 = cr 6 = cr 16 = ci 7 = ci 15 = cr 7 = cr 15 = ci 8 = ci 1 = cr 8 = cr 1 = ci 9 = ci 1 = cr 9 = cr 1 = ci 10 = ci 1 = cr 10 = cr 1 = ci 11 = cr 11 = Table : Newton-cotes open integration formulas with points =.16 Rule Integer coefficient Real coefficient Midpoint rule num = Points (N) = den = 1 Segments (N-1) = ci = 1 cr = Error»O (h ) Points (N) = num = Segments (N-1) = den = Error»O (h ) ci = ci = 1 cr = cr = Points (N) = 5 num = den = Segments (N-1) = ci = ci = cr = cr = Error»O (h ) ci = -1 cr = -1. Points (N) = 6 den = Segments (N-1) = 5 ci = ci 5 = 11 cr = cr 5 = Error»O (h ) ci = ci = 1 cr = cr = Points (N) = 7 num = den = 10 Segments (N-1) = 6 ci = ci 6 = 11 cr = cr 6 = Error»O (h 6 ) ci = ci 5 = -1 cr = cr 5 = ci = 6 cr = Points (N) = 8 num = 7 den = 10 Segments (N-1) = 7 ci = ci 7 = 611 cr = cr 7 = Error»O (h 6 ) ci = ci 6 = -5 cr = cr 6 = ci = ci 6 = 56 cr = cr 5 = Points (N) = 9 num = 8 den = 95 Segments (N-1) = 8 ci = ci 8 = 60 cr = cr 8 = Error»O (h 8 ) ci = ci 7 = -95 cr = cr 7 = ci = ci 6 = 196 cr = cr 6 = ci 5 = -59 cr 5 =

6 J. Math. & Stat., 6 (): 19-0, 010 Table : Continued Points (N) = 10 num = 9 den = 80 Segments (N-1) = 9 ci = ci 9 = 1787 cr = cr 9 = Error»O (h 8 ) ci = ci 8 = -80 cr = cr 8 = ci = ci 7 = 967 cr = cr 7 = ci 5 = ci 6 = cr 5 = cr 6 = Points (N) = 11 den = 56 Segments (N-1) = 10 ci = ci 10 = 05 cr = cr 10 = Error»O (h 10 ) ci = ci 9 = cr = cr 9 = ci = ci 8 = 0 cr = cr 8 = ci 5 = ci 7 = cr 5 = cr 7 = ci 6 = 678 cr 6 = num = 11 Points (N) = 1 den = Segments (N-1) = 11 ci = ci 11 = 7577 cr = cr 11 = Error»O (h 10 ) ci = ci 10 = cr = cr 10 = ci = ci 9 = cr = cr 9 = ci 5 = ci 8 = cr 5 = cr 8 = ci 6 = ci 7 = cr 6 = cr 7 = num = 1 Points (N) = 1 den = 195 Segments (N-1) = 1 ci = ci 1 = 966 cr = cr 1 = Error»O (h 1 ) ci = ci 11 = cr = cr 11 = ci = ci 10 = 1058 cr = cr 10 = ci 5 = ci 9 = cr 5 = cr 9 = ci 6 = ci 8 = 7956 cr 6 = cr 8 = ci 7 = -90 cr 7 = num = 1 Points (N) = 1 den = Segments (N-1) = 1 ci = ci 1 = 8897 cr = cr 1 = Error»O (h 1 ) ci = ci 1 = cr = cr 1 = ci = ci 11 = cr = cr 11 = ci 5 = ci 10 = cr 5 = cr 10 = ci 6 = ci 9 = cr 6 = cr 9 = ci 7 = ci 8 = cr 7 = cr 8 = num = 7 Points (N) = 15 den = Segments (N-1) = 1 ci = ci 1 = 9067 cr = cr 1 = Error»O (h 1 ) ci = ci 1 = cr = cr 1 = ci = ci 1 = cr = cr 1 = ci 5 = ci 11 = cr 5 = cr 11 = ci 6 = ci 10 = 1575 cr 6 = cr 10 = ci 7 = ci 9 = cr 7 = cr 9 = ci 8 = cr 8 = Points (N) = 16 den = 1700 Segments (N-1) = 15 ci = ci 15 = cr = cr 15 = Error»O (h 1 ) ci = ci 1 = cr = cr 1 = ci = ci 1 = cr = cr 1 = ci 5 = ci 1 = cr 5 = cr 1 = ci 6 = ci 11 = cr 6 = cr 11 = ci 7 = ci 10 = cr 7 = cr 10 = ci 8 = ci 9 = cr 8 = cr 9 = The Table and shows of coefficients for higher order open integration formulas. Figure shows the generation of rules in Maple 1.0. does not appear in equation (Zhang et al., 009). The rule for a double interval is obtained by fitting a zerodegree polynomial to three discrete points. When N is odd, the semi-closed or semi-open integration formulas are same as open rules. The upper limit of integration is x = x 1 +h, then the Integral (I) have the formula: Newton-cotes semi-closed or semi-open integration equation: In the semi-open integration formulas, the last (y N ) point does not appear in equation. In the semi-closed integration formulas, the first (y 1 ) point I = h( y) or I = hy Error O( h ) (1) 198

7 J. Math. & Stat., 6 (): 19-0, 010 Fig. : Verification Newton-cotes open integration formulas with maple 1.0. with number of points N =..105 For three intervals, the semi-open rule is obtained by fitting a first-degree polynomial to four discrete points. The upper limit of integration is x = x 1 +h, then the Integral (I) have the formula: h I = ( y1+ y) or I = 0.75hy1+.5hy Error O( h ) (1) For N = 5, the rule is obtained by fitting a seconddegree polynomial to four equally spaced discrete points, same of the open formula. The upper limit of integration is x 5, then: h I = ( y y+ y) or Error O( h ) I = hy 1.hy hy (15) Fig. : Verification Newton-cotes semi-open integration formulas with maple 1.0. with N =..105 The Table 5 and 6 shows of coefficients for higher order open integration formulas. Figure shows the generation of rules in Maple 1.0. The semi-closed integration formulas are same as semi-open rules. For examples, N = : ( ) ( ) I = h y or I = hy Error O h (18) For N = : h I = ( y + y) or I = 0.75hy +.5hy Error O( h ) (19) Generally, have the semi-closed formulas, where N is number of points, ci are integer coefficients and cr are real coefficients: For N = 6, the rule is obtained by fitting a thirddegree polynomial to five equally spaced discrete points. The upper limit of integration is x 6, then: 5h 5 I = (19y1-10 y + 10 y-70 y +85 y 5) or Error O( h ) 1 I = hy1-0.7hy (16) hy hy hy Generally, have the semi-open formulas, where N is number of points: num I= h(ciy 1 1+ciy +ciy +ci y +... den +cin y N +cin 1y N 1) cr 1 y1+ cr y + cr y +... or I = h + cr N yn + cr N 1yN 1 5 (17) 199 num I= h(ciy +ciy +ci y +... den +cin y N +cin 1y N 1+ciNy N) or cr y + cr y +... I= h + cr N yn + cr N 1yN 1+ cr Ny N (0) The semi-open or semi-closed rules can be used on type of improper integral-that is, one with a lower limit of - or an upper limit of +. Such integrals usually can be evaluated by making a change of variable that transforms the infinite range to one that is finite (Choi et al., 00). The following identity serves this purpose and works for any function that decreases toward zero at least as fast 1/x as x approaches infinity: 1 1 f(x)dx f dw b 1/a = a 1/bw w (1)

8 J. Math. & Stat., 6 (): 19-0, 010 Table : Newton-cotes open integration formulas with points = 17. Rule Integer coefficient Real coefficient num = 16 Points (N) = 17 den = Segments (N-1) = 16 ci = ci 16 = cr = cr 16 = Error»O (h 16 ) ci = ci 15 = cr = cr 15 = ci = ci 1 = cr = cr 1 = ci 5 = ci 1 = cr 5 = cr 1 = ci 6 = ci 1 = cr 6 = cr 1 = ci 7 = ci 11 = cr 7 = cr 11 = ci 8 = ci 10 = cr 8 = cr 10 = ci 9 = cr 9 = num = 17 Points (N) = 18 den = Segments (N-1) = 17 ci = ci 17 = 5100 cr = cr 17 = Error»O (h 16 ) ci = ci 16 = cr = cr 16 = ci = ci 15 = cr = cr 15 = ci 5 = ci 1 = cr 5 = cr 1 = ci 6 = ci 1 = cr 6 = cr 1 = ci 7 = ci 1 = cr 7 = cr 1 = ci 8 = ci 11 = cr 8 = cr 11 = ci 9 = ci 10 = cr 9 = cr 10 = num = 9 Points (N) = 19 den = Segments (N-1) = 18 ci = ci 18 = cr = cr 18 = Error»O (h 18 ) ci = ci 17 = cr = cr 17 = ci = ci 16 = cr = cr 16 = ci 5 = ci 15 = cr 5 = cr 15 = ci 6 = ci 1 = cr 6 = cr 1 = ci 7 = ci 1 = cr 7 = cr 1 = ci 8 = ci 1 = cr 8 = cr 1 = ci 9 = ci 11 = cr 9 = cr 11 = ci 10 = cr 10 = num = 19 Points (N) = 0 den = Segments (N-1) = 19 ci = ci 19 = cr = cr 19 = Error»O (h 18 ) ci = ci 18 = cr = cr 18 = ci = ci 17 = cr = cr 17 = ci 5 = ci 16 = cr 5 = cr 16 = ci 6 = ci 15 = cr 6 = cr 15 = ci 7 = ci 1 = cr 7 = cr 1 = ci 8 = ci 1 = cr 8 = cr 1 = ci 9 = ci 1 = cr 9 = cr 1 = ci 10 = ci 11 = cr 10 = cr 11 = Points (N) = 1 den = Segments (N-1) = 0 ci = ci 0 = cr = cr 0 = Error»O (h 0 ) ci = ci 19 = cr = cr 19 = ci = ci 18 = cr = cr 18 = ci 5 = ci 17 = cr 5 = cr 17 = ci 6 = ci 16 = cr 6 = cr 16 = ci 7 = ci 15 = cr 7 = cr 15 = ci 8 = ci 1 = cr 8 = cr 1 = ci 9 = ci 1 = cr 9 = cr 1 = ci 10 = ci 1 = cr 10 = cr 1 = ci 11 = cr 11 = num = 7 Points (N) = den = Segments (N-1) = 1 ci = ci 1 = cr = cr 1 = Error»O (h 0 ) ci = ci 0 = cr = cr 0 = ci = ci 19 = cr = cr 19 = ci 5 = ci 18 = cr 5 = cr 18 = ci 6 = ci 17 = cr 6 = cr 17 = ci 7 = ci 16 = cr 7 = cr 16 = ci 8 = ci 15 = cr 8 = cr 15 = ci 9 = ci 1 = cr 9 = cr 1 =

9 J. Math. & Stat., 6 (): 19-0, 010 Table : Continued ci 10 = ci 1 = cr 10 = cr 1 = ci 11 = ci 1 = cr 11 = cr 1 = num = 11 Points (N) = den = Segments (N-1) = ci = ci = cr = cr = Error»O (h ) ci = ci 1 = cr = cr 1 = ci = ci 0 = cr = cr 0 = ci 5 = ci 19 = cr 5 = cr 19 = ci 6 = ci 18 = cr 6 = cr 18 = ci 7 = ci 17 = cr 7 = cr 17 = ci 8 = ci 16 = cr 8 = cr 16 = ci 9 = ci 15 = cr 9 = cr 15 = ci 10 = ci 1 = cr 10 = cr 1 = ci 11 = ci 1 = cr 11 = cr 1 = ci 1 = cr 1 = Table 5: Newton-cotes semi-open integration formulas with points =, 6, 8, 10, 1, 1, 16 Rule Integer coefficient Real coefficient num = den = Points (N) = ci 1 = 1 cr 1 = Segments (N-1) = ci = 0 cr = Error»O (h ) ci = cr = den = 1 Points (N) = 6 ci 1 = 19 cr 1 = Segments (N-1) = 5 ci = -10 cr = -0.7 Error»O (h 5 ) ci = 10 cr = ci = -70 cr = ci 5 = 85 cr 5 = num = 7 den = 860 Points (N) = 8 ci 1 = 751 cr 1 = Segments (N-1) = 7 ci = -80 cr = Error»O (h 7 ) ci = 857 cr = ci = cr = ci 5 = 167 cr 5 = ci 6 = -7 cr 6 = ci 7 = 17 cr 7 = num = 9 den = 800 Points (N) = 10 ci 1 = 857 cr 1 = Segments (N-1) = 9 ci = -986 cr = Error»O (h 9 ) ci = cr = ci = -110 cr = ci 5 = cr 5 = ci 6 = cr 6 = ci 7 = cr 7 = ci 8 = cr 8 = ci 9 = 077 cr 9 = num = 11 den = Points (N) = 1 ci 1 = cr 1 = Segments (N-1) = 11 ci = cr = Error»O (h 11 ) ci = cr = ci = cr = ci 5 = 5995 cr 5 = ci 6 = cr 6 = ci 7 = cr 7 = ci 8 = cr 8 = ci 9 = cr 9 = ci 1 = -618 cr 10 = ci 11 = cr 11 = num = 1 den = Points (N) = 1 ci 1 = cr 1 = Segments (N-1) = 1 ci = cr = Error»O (h 1 ) ci = cr = ci = cr = ci 5 = cr 5 =

10 J. Math. & Stat., 6 (): 19-0, 010 Table 5: Continued ci 6 = cr 6 = ci 7 = cr 7 = ci 8 = cr 8 = ci 9 = cr 9 = ci 10 = cr 10 = ci 11 = cr 11 = ci 1 = cr 1 = ci 1 = cr 1 = Points (N) = 16 den = 0806 Segments (N-1) = 15 ci 1 = 5100 cr 1 = Error»O (h 15 ) ci = cr = ci = cr = ci = cr = ci 5 = cr 5 = ci 6 = cr 6 = ci 7 = cr 7 = ci 8 = cr 8 = ci 9 = cr 9 = ci 10 = cr 10 = ci 11 = cr 11 = ci 1 = cr 1 = ci 1 = cr 1 = ci 1 = cr 1 = ci 15 = cr 15 = Table 6: Newton-cotes semi-open integration formulas with points = 18, 0, Rule Integer coefficient Real coefficient num = 17 Points (N) = 18 den = Segments (N-1) = 17 ci 1 = cr Error»O (h 17 ) ci = cr = ci = cr = ci = cr = ci 5 = cr 5 = ci 6 = cr 6 = ci 7 = cr 7 = ci 8 = cr 8 = ci 9 = cr 9 = ci 10 = cr 10 = ci 11 = cr 11 = ci 1 = cr 1 = ci 1 = cr 1 = ci 1 = cr 1 = ci 15 = cr 15 = ci 16 = cr 16 = ci 17 = cr 17 = num = 19 Points (N) = 0 den = Segments (N-1) = 19 ci 1 = cr 1 = Error»O (h 19 ) ci = cr = ci = cr = ci = cr = ci 5 = cr 5 = ci 6 = cr 6 = ci 7 = cr 7 = ci 8 = cr 8 = ci 9 = cr 9 = ci 10 = cr 10 = ci 11 = cr 11 = ci 1 = cr 1 = ci 1 = cr 1 = ci 1 = cr 1 = ci 15 = cr 15 =

11 J. Math. & Stat., 6 (): 19-0, 010 Table 6: Continued ci 16 = cr 16 = ci 17 = cr 17 = ci 18 = cr 18 = ci 19 = cr 19 = num = 7 Points (N) = den = Segments (N-1) = 1 ci 1 = cr Error»O (h 1 ) ci = cr = ci = cr = ci = cr = ci 5 = cr 5 = ci 6 = cr 6 = ci 7 = cr 7 = ci 8 = cr 8 = ci 9 = cr 9 = ci 10 = cr 10 = ci 11 = cr 11 = ci 1 = cr 1 = ci 1 = cr 1 = ci 1 = cr 1 = ci 15 = cr 15 = ci 16 = cr 16 = ci 17 = cr 17 = ci 18 = cr 18 = ci 19 = cr 19 = ci 0 = cr 0 = ci 1 = cr 1 = Table 7: Set of points x y = f(x) For ab>0. Therefore, it can be used only when a is positive and b is or when a is - and b is negative. For cases where the limits are from - to, the integral can be implemented in three steps. For example: A A f (x)dx = f (x)dx + f (x)dx + f (x)dx () A Where, A is a positive number. One problem with using Eq. 1 to evaluate an integral is that the transformed function will be singular at one of the limits (Sun and Wu, 005). The semi-open or semi-closed integration formulas can be used to circumvent this dilemma as they allow evaluation of integral without employing data at the end points of integration interval. Analysis of error: Let s solve the example problem presented in Eq. using Simpson s 1/ rule (Sun and Wu, 008). The exact solution is I exact = e 0.8 -e 0.0 = : A 0. I(h = 0.) = 1+ ( ) = Error = = [ ] () Breaking the total range of integration into four increments of h = 0. and two intervals and applying the composite rule yields: 0. I(h = 0.) = [1 + (1.1076) + ( ) + ( ) +,55098] = Error = = () The global error of Simpson s 1/ rule is O (h ). Thus, for successive increment havings: Ratio = = O (h) Error(h) Ratio = = = = Error(h / ) O (h/) () 0.8 x e dx 0 I = () Solving the problems for two increments of h = 0., the minimum permissible number of increments for Simpson s 1/ rule and one interval yields: Mixing rules: To estimate the error of integration in discrete function, we can apply different rules or mix several integration formulas of Newton-cotes (Berriochoa et al., 007). The difference in the result of each formula provides an approximation of the error. For example, calculate the integral of the points in Table 7. 0

12 J. Math. & Stat., 6 (): 19-0, 010 Using trapezoidal rule: REFERENCES 0.1 I = [ (1.105) + (1.1) + (1.99) + (1.918) ] = 0.69 Using Simpson s 1/ and /8 rule: 0.1 I = [ (1.105) + 1.1] + (0.1) [1.1 + (1.99) + (1.918) ] 8 = Using closed rule with N = 6: 5(0.1) I = [19(1.0000) + 75(1.105) + 50(1.1) (1.99) + 75(1.918) + 19(1.687)] = Using open rule with N = 6: 5(0.1) I = [0(1.0000) + 11(1.105) (1.918) + 0(1.687)] = (5) (6) (7) (8) Then, estimation of the error is = and the best result is CONCLUSION Newton-Cotes Integration is very important. To improve the error, formulas of high order should be applied. To estimate the error of integration for set of points proposed to apply different rules or mix various integration formulas. The difference in the result of each formula provides an approximation of the error of integration. And we can choose the best result as the average of all values or the value that appeared more times using the various formulas of integration. Computational routines to generate Newton-Cotes integration rules were presented with number of points until one hundred. The equations of Newton-Cotes shown in the article can be used in many scientific applications. ACKNOWLEDGMENT The researchers thank the generous support of the Pontificia Universidade Catolica de Minas Gerais- PUCMINAS. 0 Berriochoa, E., A. Cachafeiro and F. Marcellan, 007. A new numerical quadrature formula on the unit circle. Numer. Algorithms, : DOI: /s Choi, S.H., J.H. Park and Y.Y. Park, 00. A study on the average case error of composite Newton-cotes quadratures. J. Applied Math. Comput., 1: DOI: /BF Espelid, T.O., 00. Doubly adaptive quadrature routines based on Newton cotes rules. BIT Numer. Mathe., : DOI: 10.10/A: Kalogiratou, Z. and T.E. Simos, 00. Newton-cotes formulae for long-time integration. J. Comput. Applied Math., 158: DOI: /S077-07(0) Sermutlu, E. and H.T. Eyyubog lu, 007. A new quadrature routine for improper and oscillatory integrals. Applied Math. Comput., 189: DOI: /j.amc Sermutlu, E., 005. Comparison of Newton-cotes and Gaussian methods of quadrature. Applied Math. Compu., 171: DOI: /j.amc Simos, T.E., 008. High-order closed Newton-cotes trigonometrically-fitted formulae for long-time integration of orbital problems. Comput. Phys Commun., 178: DOI: /j.cpc Simos, T.E., 009. High order closed Newton-cotes trigonometrically-fitted formulae for the numerical solution of the schrodinger equation. Applied Math. Comput., 09: DOI: /j.amc Sun, W. and J. Wu, 005. Newton-cotes formulae for the numerical evaluation of certain hypersingular integrals. Computing, 75: DOI: /s Sun, W. and J. Wu, 008. The superconvergence of Newton-cotes rules for the hadamard finite-part integral on an interval. Numer. Math., 109: DOI: /s Witteveen, J.A.S., A. Loeven and H. Bijl, 009. An adaptive stochastic finite elements approach based on Newton-cotes quadrature in simplex elements. Comput. Fluids, 8: DOI: /j.compfluid Zhang, X. J. Wu and D. Yu, 009. The superconvergence of composite Newton-cotes rules for hadamard finite-part integral on a circle. Computing, 85: 19-. DOI: /s

Numerical Integration

Numerical Integration Numerical Integration Numerical Integration is the process of computing the value of a definite integral, when the values of the integrand function, are given at some tabular points. As in the case of

More information

f( x ), or a solution to the equation f( x) 0. You are already familiar with ways of solving

f( x ), or a solution to the equation f( x) 0. You are already familiar with ways of solving The Bisection Method and Newton s Method. If f( x ) a function, then a number r for which f( r) 0 is called a zero or a root of the function f( x ), or a solution to the equation f( x) 0. You are already

More information

COMPUTING AND DATA ANALYSIS WITH EXCEL. Numerical integration techniques

COMPUTING AND DATA ANALYSIS WITH EXCEL. Numerical integration techniques COMPUTING AND DATA ANALYSIS WITH EXCEL Numerical integration techniques Outline 1 Quadrature in one dimension Mid-point method Trapezium method Simpson s methods Uniform random number generation in Excel,

More information

Final Exam Review Algebra Semester 1

Final Exam Review Algebra Semester 1 Final Exam Review Algebra 015-016 Semester 1 Name: Module 1 Find the inverse of each function. 1. f x 10 4x. g x 15x 10 Use compositions to check if the two functions are inverses. 3. s x 7 x and t(x)

More information

Homework: Study 6.1 # 1, 5, 7, 13, 25, 19; 3, 17, 27, 53

Homework: Study 6.1 # 1, 5, 7, 13, 25, 19; 3, 17, 27, 53 January, 7 Goals:. Remember that the area under a curve is the sum of the areas of an infinite number of rectangles. Understand the approach to finding the area between curves.. Be able to identify the

More information

Math 226A Homework 4 Due Monday, December 11th

Math 226A Homework 4 Due Monday, December 11th Math 226A Homework 4 Due Monday, December 11th 1. (a) Show that the polynomial 2 n (T n+1 (x) T n 1 (x)), is the unique monic polynomial of degree n + 1 with roots at the Chebyshev points x k = cos ( )

More information

A MIXED QUADRATURE FORMULA USING RULES OF LOWER ORDER

A MIXED QUADRATURE FORMULA USING RULES OF LOWER ORDER Bulletin of the Marathwada Mathematical Society Vol.5, No., June 004, Pages 6-4 ABSTRACT A MIXED QUADRATURE FORMULA USING RULES OF LOWER ORDER Namita Das And Sudhir Kumar Pradhan P.G. Department of Mathematics

More information

CHAPTER 5 NUMERICAL INTEGRATION METHODS OVER N- DIMENSIONAL REGIONS USING GENERALIZED GAUSSIAN QUADRATURE

CHAPTER 5 NUMERICAL INTEGRATION METHODS OVER N- DIMENSIONAL REGIONS USING GENERALIZED GAUSSIAN QUADRATURE CHAPTER 5 NUMERICAL INTEGRATION METHODS OVER N- DIMENSIONAL REGIONS USING GENERALIZED GAUSSIAN QUADRATURE 5.1 Introduction Multidimensional integration appears in many mathematical models and can seldom

More information

NUMERICAL INTEGRATION

NUMERICAL INTEGRATION NUMERICAL INTEGRATION f(x) MISN-0-349 NUMERICAL INTEGRATION by Robert Ehrlich George Mason University 1. Numerical Integration Algorithms a. Introduction.............................................1 b.

More information

CSE 251 PROJECT 1. Andrew Christlieb. Monday Class AND Friday Class Abstract. Web:

CSE 251 PROJECT 1. Andrew Christlieb. Monday Class AND Friday Class Abstract. Web: CSE 51 PROJECT 1 Andrew Christlieb Monday Class 0-03-14 AND Friday Class 01-31-14 Abstract Web: http://www.cse.msu.edu/ cse51 Project 1 due date: (Monday Class) 0-17-14 AND (Friday Class)0-14-14, time:

More information

Hybrid Newton-Cotes Integrals

Hybrid Newton-Cotes Integrals Hybrid Newton-Cotes Integrals 1 Hybrid Newton-Cotes Integrals By Namir C. Shammas Introduction Newton-Cotes integration methods are numerical methods for integration. These methods calculate the estimate

More information

Queens College, CUNY, Department of Computer Science Numerical Methods CSCI 361 / 761 Fall 2018 Instructor: Dr. Sateesh Mane

Queens College, CUNY, Department of Computer Science Numerical Methods CSCI 361 / 761 Fall 2018 Instructor: Dr. Sateesh Mane Queens College, CUNY, Department of Computer Science Numerical Methods CSCI 36 / 76 Fall 28 Instructor: Dr. Sateesh Mane c Sateesh R. Mane 28 6 Homework lecture 6: numerical integration If you write the

More information

1KOd17RMoURxjn2 CSE 20 DISCRETE MATH Fall

1KOd17RMoURxjn2 CSE 20 DISCRETE MATH Fall CSE 20 https://goo.gl/forms/1o 1KOd17RMoURxjn2 DISCRETE MATH Fall 2017 http://cseweb.ucsd.edu/classes/fa17/cse20-ab/ Today's learning goals Explain the steps in a proof by mathematical and/or structural

More information

Numerical Methods for Differential Equations Contents Review of numerical integration methods Rectangular Rule Trapezoidal Rule Simpson s Rule How to

Numerical Methods for Differential Equations Contents Review of numerical integration methods Rectangular Rule Trapezoidal Rule Simpson s Rule How to Numerical Methods for Differential Equations Contents Review of numerical integration methods Rectangular Rule Trapezoidal Rule Simpson s Rule How to make a connect-the-dots graphic Numerical Methods for

More information

Cardinality of Sets. Washington University Math Circle 10/30/2016

Cardinality of Sets. Washington University Math Circle 10/30/2016 Cardinality of Sets Washington University Math Circle 0/0/06 The cardinality of a finite set A is just the number of elements of A, denoted by A. For example, A = {a, b, c, d}, B = {n Z : n } = {,,, 0,,,

More information

Lecture 9. Curve fitting. Interpolation. Lecture in Numerical Methods from 28. April 2015 UVT. Lecture 9. Numerical. Interpolation his o

Lecture 9. Curve fitting. Interpolation. Lecture in Numerical Methods from 28. April 2015 UVT. Lecture 9. Numerical. Interpolation his o Curve fitting. Lecture in Methods from 28. April 2015 to ity Interpolation FIGURE A S Splines Piecewise relat UVT Agenda of today s lecture 1 Interpolation Idea 2 3 4 5 6 Splines Piecewise Interpolation

More information

1.00 Lecture 32. Integration. Reading for next time: Numerical Recipes Packaging Functions in Objects

1.00 Lecture 32. Integration. Reading for next time: Numerical Recipes Packaging Functions in Objects 1.00 Lecture 32 Integration Reading for next time: Numerical Recipes 347-368 Packaging Functions in Objects Consider writing a method that evaluates, integrates or finds the roots of a function: Evaluate:

More information

Math 225 Scientific Computing II Outline of Lectures

Math 225 Scientific Computing II Outline of Lectures Math 225 Scientific Computing II Outline of Lectures Spring Semester 2003 I. Interpolating polynomials Lagrange formulation of interpolating polynomial Uniqueness of interpolating polynomial of degree

More information

Integration. Volume Estimation

Integration. Volume Estimation Monte Carlo Integration Lab Objective: Many important integrals cannot be evaluated symbolically because the integrand has no antiderivative. Traditional numerical integration techniques like Newton-Cotes

More information

Voluntary State Curriculum Algebra II

Voluntary State Curriculum Algebra II Algebra II Goal 1: Integration into Broader Knowledge The student will develop, analyze, communicate, and apply models to real-world situations using the language of mathematics and appropriate technology.

More information

Chapter 3. Numerical Differentiation, Interpolation, and Integration. Instructor: Dr. Ming Ye

Chapter 3. Numerical Differentiation, Interpolation, and Integration. Instructor: Dr. Ming Ye Chapter 3 Numerical Differentiation, Interpolation, and Integration Instructor: Dr. Ming Ye Measuring Flow in Natural Channels Mean-Section Method (1) Divide the stream into a number of rectangular elements

More information

Study Guide for Test 2

Study Guide for Test 2 Study Guide for Test Math 6: Calculus October, 7. Overview Non-graphing calculators will be allowed. You will need to know the following:. Set Pieces 9 4.. Trigonometric Substitutions (Section 7.).. Partial

More information

Queens College, CUNY, Department of Computer Science Numerical Methods CSCI 361 / 761 Spring 2018 Instructor: Dr. Sateesh Mane.

Queens College, CUNY, Department of Computer Science Numerical Methods CSCI 361 / 761 Spring 2018 Instructor: Dr. Sateesh Mane. Queens College, CUNY, Department of Computer Science Numerical Methods CSCI 361 / 761 Spring 2018 Instructor: Dr. Sateesh Mane c Sateesh R. Mane 2018 16 Lecture 16 May 3, 2018 Numerical solution of systems

More information

and F is an antiderivative of f

and F is an antiderivative of f THE EVALUATION OF DEFINITE INTEGRALS Prepared by Ingrid Stewart, Ph.D., College of Southern Nevada Please Send Questions Comments to ingrid.stewart@csn.edu. Thank you! We have finally reached a point,

More information

Reals 1. Floating-point numbers and their properties. Pitfalls of numeric computation. Horner's method. Bisection. Newton's method.

Reals 1. Floating-point numbers and their properties. Pitfalls of numeric computation. Horner's method. Bisection. Newton's method. Reals 1 13 Reals Floating-point numbers and their properties. Pitfalls of numeric computation. Horner's method. Bisection. Newton's method. 13.1 Floating-point numbers Real numbers, those declared to be

More information

Data Mining and Analysis: Fundamental Concepts and Algorithms

Data Mining and Analysis: Fundamental Concepts and Algorithms Data Mining and Analysis: Fundamental Concepts and Algorithms dataminingbook.info Mohammed J. Zaki Wagner Meira Jr. Department of Computer Science Rensselaer Polytechnic Institute, Troy, NY, USA Department

More information

Numerical Integration

Numerical Integration Lecture 12: Numerical Integration (with a focus on Monte Carlo integration) Computer Graphics CMU 15-462/15-662, Fall 2015 Review: fundamental theorem of calculus Z b f(x)dx = F (b) F (a) a f(x) = d dx

More information

Mathematics 12 Pre-Calculus WNCP

Mathematics 12 Pre-Calculus WNCP Mathematics 1 Pre-Calculus WNCP Page 1 Page Page 3-8 Page 9-1 General Information Record Chart Sample Guided Outlines Sample Unit Test Pages Textbook This course uses the textbook Pre-Calculus 1 ISBN 978007073870

More information

Precalculus, Quarter 2, Unit 2.1. Trigonometry Graphs. Overview

Precalculus, Quarter 2, Unit 2.1. Trigonometry Graphs. Overview 13 Precalculus, Quarter 2, Unit 2.1 Trigonometry Graphs Overview Number of instructional days: 12 (1 day = 45 minutes) Content to be learned Convert between radian and degree measure. Determine the usefulness

More information

MAINE ASSOCIATION OF MATH LEAGUES RULES GOVERNING QUESTIONS, ANSWERS, AND GRADING

MAINE ASSOCIATION OF MATH LEAGUES RULES GOVERNING QUESTIONS, ANSWERS, AND GRADING MAINE ASSOCIATION OF MATH LEAGUES RULES GOVERNING QUESTIONS, ANSWERS, AND GRADING 05-06 Introduction Philosophy. It is the intent of MAML to promote Maine high school mathematics competitions. The questions

More information

Engineering Analysis ENG 3420 Fall Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 11:00-12:00

Engineering Analysis ENG 3420 Fall Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 11:00-12:00 Engineering Analysis ENG 3420 Fall 2009 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 11:00-12:00 1 Lecture 24 Attention: The last homework HW5 and the last project are due on Tuesday November

More information

THS Step By Step Calculus Chapter 3

THS Step By Step Calculus Chapter 3 Name: Class Period: Throughout this packet there will be blanks you are expected to fill in prior to coming to class. This packet follows your Larson Textbook. Do NOT throw away! Keep in 3 ring-binder

More information

Graphics calculator instructions

Graphics calculator instructions Graphics calculator instructions Contents: A Basic calculations B Basic functions C Secondary function and alpha keys D Memory E Lists F Statistical graphs G Working with functions H Two variable analysis

More information

Problem #3 Daily Lessons and Assessments for AP* Calculus AB, A Complete Course Page Mark Sparks 2012

Problem #3 Daily Lessons and Assessments for AP* Calculus AB, A Complete Course Page Mark Sparks 2012 Problem # Daily Lessons and Assessments for AP* Calculus AB, A Complete Course Page 490 Mark Sparks 01 Finding Anti-derivatives of Polynomial-Type Functions If you had to explain to someone how to find

More information

SYDE 312 UNIT 4: EXTRA QUADRATURE PROBLEMS

SYDE 312 UNIT 4: EXTRA QUADRATURE PROBLEMS SYDE 3 UNIT 4: EXTRA QUADRATURE PROBLEMS Problem E x x + Use f(x) = /x x + You can t use the Matlab gaussquad file in the provided form, because it implements composite Gauss-Legendre quadrature with multiple

More information

GREENWOOD PUBLIC SCHOOL DISTRICT Algebra III Pacing Guide FIRST NINE WEEKS

GREENWOOD PUBLIC SCHOOL DISTRICT Algebra III Pacing Guide FIRST NINE WEEKS GREENWOOD PUBLIC SCHOOL DISTRICT Algebra III FIRST NINE WEEKS Framework/ 1 Aug. 6 10 5 1 Sequences Express sequences and series using recursive and explicit formulas. 2 Aug. 13 17 5 1 Sequences Express

More information

Integration by parts, sometimes multiple times in the same problem. a. Show your choices. b. Evaluate the integral. a.

Integration by parts, sometimes multiple times in the same problem. a. Show your choices. b. Evaluate the integral. a. Instructions Complete the homework with a pencil. Show your work. Use extra paper if necessary. Homework can be turned in as follows Turn in homework in person at KPC Scan and e-mail to UAACalculus@yahoo.com

More information

Wiswall, Applied Microeconometrics, Lecture Notes 1. In this section we focus on three very common computational tasks in applied

Wiswall, Applied Microeconometrics, Lecture Notes 1. In this section we focus on three very common computational tasks in applied Wiswall, Applied Microeconometrics, Lecture Notes 1 1 Numerical Methods In this section we focus on three very common computational tasks in applied microeconomics: i) calculating derivatives numerically

More information

Mastery. PRECALCULUS Student Learning Targets

Mastery. PRECALCULUS Student Learning Targets PRECALCULUS Student Learning Targets Big Idea: Sequences and Series 1. I can describe a sequence as a function where the domain is the set of natural numbers. Connections (Pictures, Vocabulary, Definitions,

More information

Floating-point numbers. Phys 420/580 Lecture 6

Floating-point numbers. Phys 420/580 Lecture 6 Floating-point numbers Phys 420/580 Lecture 6 Random walk CA Activate a single cell at site i = 0 For all subsequent times steps, let the active site wander to i := i ± 1 with equal probability Random

More information

When implementing FEM for solving two-dimensional partial differential equations, integrals of the form

When implementing FEM for solving two-dimensional partial differential equations, integrals of the form Quadrature Formulas in Two Dimensions Math 57 - Finite Element Method Section, Spring Shaozhong Deng, PhD (shaodeng@unccedu Dept of Mathematics and Statistics, UNC at Charlotte When implementing FEM for

More information

Lesson 8 - Practice Problems

Lesson 8 - Practice Problems Lesson 8 - Practice Problems Section 8.1: A Case for the Quadratic Formula 1. For each quadratic equation below, show a graph in the space provided and circle the number and type of solution(s) to that

More information

Honors Precalculus: Solving equations and inequalities graphically and algebraically. Page 1

Honors Precalculus: Solving equations and inequalities graphically and algebraically. Page 1 Solving equations and inequalities graphically and algebraically 1. Plot points on the Cartesian coordinate plane. P.1 2. Represent data graphically using scatter plots, bar graphs, & line graphs. P.1

More information

4.3 Rational Thinking

4.3 Rational Thinking RATIONAL EXPRESSIONS & FUNCTIONS -4.3 4.3 Rational Thinking A Solidify Understanding Task The broad category of functions that contains the function!(#) = & ' is called rational functions. A rational number

More information

East Penn School District Secondary Curriculum

East Penn School District Secondary Curriculum East Penn School District Secondary Curriculum A Planned Course Statement for Analytic Geometry and Calculus (BC) AP Course # 360 Grade(s) 12 Department: Math ength of Period (mins.) 41 Total Clock Hours:

More information

Embedding Formulations, Complexity and Representability for Unions of Convex Sets

Embedding Formulations, Complexity and Representability for Unions of Convex Sets , Complexity and Representability for Unions of Convex Sets Juan Pablo Vielma Massachusetts Institute of Technology CMO-BIRS Workshop: Modern Techniques in Discrete Optimization: Mathematics, Algorithms

More information

Alignment to the Texas Essential Knowledge and Skills Standards

Alignment to the Texas Essential Knowledge and Skills Standards Alignment to the Texas Essential Knowledge and Skills Standards Contents Kindergarten... 2 Level 1... 4 Level 2... 6 Level 3... 8 Level 4... 10 Level 5... 13 Level 6... 16 Level 7... 19 Level 8... 22 High

More information

SETS AND FUNCTIONS JUNIOR CIRCLE 10/09/2011

SETS AND FUNCTIONS JUNIOR CIRCLE 10/09/2011 SETS AND FUNCTIONS JUNIOR CIRCLE 10/09/2011 Let S be the set of all students in the Junior circle (who are in class today). Let C be the set of all chairs in the Junior circle classroom. Let I={Alyssa,

More information

Mid-Chapter Quiz: Lessons 1-1 through 1-4

Mid-Chapter Quiz: Lessons 1-1 through 1-4 Determine whether each relation represents y as a function of x. 1. 3x + 7y = 21 This equation represents y as a function of x, because for every x-value there is exactly one corresponding y-value. The

More information

The Bisection Method versus Newton s Method in Maple (Classic Version for Windows)

The Bisection Method versus Newton s Method in Maple (Classic Version for Windows) The Bisection Method versus (Classic Version for Windows) Author: Barbara Forrest Contact: baforres@uwaterloo.ca Copyrighted/NOT FOR RESALE version 1.1 Contents 1 Objectives for this Lab i 2 Approximate

More information

Computer Simulations

Computer Simulations Computer Simulations A practical approach to simulation Semra Gündüç gunduc@ankara.edu.tr Ankara University Faculty of Engineering, Department of Computer Engineering 2014-2015 Spring Term Ankara University

More information

NAG Library Routine Document D01BAF.1

NAG Library Routine Document D01BAF.1 NAG Library Routine Document Note: before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent

More information

Middle School Math 3 and 8th GLEs

Middle School Math 3 and 8th GLEs Middle School Math 3 and 8th GLEs Chapter. Lesson GLE's Description 1.1 1.2 1.3 1.4 1.5 3.1.1 Use Graphs to analyze data 1.1.6 Order of Operations 1.5.4, 1.5.5(7th) Write and Evalutate Variable Expressions

More information

You used set notation to denote elements, subsets, and complements. (Lesson 0-1)

You used set notation to denote elements, subsets, and complements. (Lesson 0-1) You used set notation to denote elements, subsets, and complements. (Lesson 0-1) Describe subsets of real numbers. Identify and evaluate functions and state their domains. set-builder notation interval

More information

DOWNLOAD PDF BIG IDEAS MATH VERTICAL SHRINK OF A PARABOLA

DOWNLOAD PDF BIG IDEAS MATH VERTICAL SHRINK OF A PARABOLA Chapter 1 : BioMath: Transformation of Graphs Use the results in part (a) to identify the vertex of the parabola. c. Find a vertical line on your graph paper so that when you fold the paper, the left portion

More information

APPM/MATH Problem Set 4 Solutions

APPM/MATH Problem Set 4 Solutions APPM/MATH 465 Problem Set 4 Solutions This assignment is due by 4pm on Wednesday, October 16th. You may either turn it in to me in class on Monday or in the box outside my office door (ECOT 35). Minimal

More information

AP Calculus AB Summer Review Packet

AP Calculus AB Summer Review Packet AP Calculus AB Summer Review Packet Mr. Burrows Mrs. Deatherage 1. This packet is to be handed in to your Calculus teacher on the first day of the school year. 2. All work must be shown on separate paper

More information

Stage 1 Place Value Calculations Geometry Fractions Data. Name and describe (using appropriate vocabulary) common 2d and 3d shapes

Stage 1 Place Value Calculations Geometry Fractions Data. Name and describe (using appropriate vocabulary) common 2d and 3d shapes Stage 1 Place Value Calculations Geometry Fractions Data YEAR 7 Working towards Read and write whole numbers in words and figures Mental methods for addition and subtraction, Name and describe (using appropriate

More information

Exercises for a Numerical Methods Course

Exercises for a Numerical Methods Course Exercises for a Numerical Methods Course Brian Heinold Department of Mathematics and Computer Science Mount St. Mary s University November 18, 2017 1 / 73 About the class Mix of Math and CS students, mostly

More information

1 MATH 253 LECTURE NOTES for FRIDAY SEPT. 23,1988: edited March 26, 2013.

1 MATH 253 LECTURE NOTES for FRIDAY SEPT. 23,1988: edited March 26, 2013. 1 MATH 253 LECTURE NOTES for FRIDAY SEPT. 23,1988: edited March 26, 2013. TANGENTS Suppose that Apple Computers notices that every time they raise (or lower) the price of a $5,000 Mac II by $100, the number

More information

Secondary Math 3- Honors. 7-4 Inverse Trigonometric Functions

Secondary Math 3- Honors. 7-4 Inverse Trigonometric Functions Secondary Math 3- Honors 7-4 Inverse Trigonometric Functions Warm Up Fill in the Unit What You Will Learn How to restrict the domain of trigonometric functions so that the inverse can be constructed. How

More information

Los Angeles Unified School District. Mathematics Grade 6

Los Angeles Unified School District. Mathematics Grade 6 Mathematics Grade GRADE MATHEMATICS STANDARDS Number Sense 9.* Compare and order positive and negative fractions, decimals, and mixed numbers and place them on a number line..* Interpret and use ratios

More information

Calculus I Review Handout 1.3 Introduction to Calculus - Limits. by Kevin M. Chevalier

Calculus I Review Handout 1.3 Introduction to Calculus - Limits. by Kevin M. Chevalier Calculus I Review Handout 1.3 Introduction to Calculus - Limits by Kevin M. Chevalier We are now going to dive into Calculus I as we take a look at the it process. While precalculus covered more static

More information

Core Mathematics 3 Functions

Core Mathematics 3 Functions http://kumarmaths.weebly.com/ Core Mathematics 3 Functions Core Maths 3 Functions Page 1 Functions C3 The specifications suggest that you should be able to do the following: Understand the definition of

More information

Handling Data I. Collecting data and using two-way tables

Handling Data I. Collecting data and using two-way tables Curriculum Long Term Planning Overview Key Stage 4 Subject Area: Maths Academic Year: 08-9 Year Year 9 Foundation Calculations I Numbers in words/figures, ordering decimals, negatives Rounding to the nearest

More information

PITSCO Math Individualized Prescriptive Lessons (IPLs)

PITSCO Math Individualized Prescriptive Lessons (IPLs) Orientation Integers 10-10 Orientation I 20-10 Speaking Math Define common math vocabulary. Explore the four basic operations and their solutions. Form equations and expressions. 20-20 Place Value Define

More information

Math 7 Glossary Terms

Math 7 Glossary Terms Math 7 Glossary Terms Absolute Value Absolute value is the distance, or number of units, a number is from zero. Distance is always a positive value; therefore, absolute value is always a positive value.

More information

International Journal of Emerging Technologies in Computational and Applied Sciences (IJETCAS)

International Journal of Emerging Technologies in Computational and Applied Sciences (IJETCAS) International Association of Scientific Innovation and Research (IASIR) (An Association Unifying the Sciences, Engineering, and Applied Research) International Journal of Emerging Technologies in Computational

More information

Math You ve Gotta Have This Book!

Math You ve Gotta Have This Book! If You re Trying to Get Better Grades & Higher Test Scores in Math You ve Gotta Have This Book! Grades 4-6 By Imogene Forte & Marjorie Frank Incentive Publications, Inc. Nashville, Tennessee Illustrated

More information

MATLAB Lecture 4. Programming in MATLAB

MATLAB Lecture 4. Programming in MATLAB MATLAB Lecture 4. Programming in MATLAB In this lecture we will see how to write scripts and functions. Scripts are sequences of MATLAB statements stored in a file. Using conditional statements (if-then-else)

More information

NOTE: This lesson is related to Polynomials, Lesson 6, Graphing Polynomial Functions LEARNING OBJECTIVES. Overview of Lesson

NOTE: This lesson is related to Polynomials, Lesson 6, Graphing Polynomial Functions LEARNING OBJECTIVES. Overview of Lesson M Functions, Lesson 6, Transformations with Functions (r. 2018) FUNCTIONS Transformations with Functions Common Core Standard F-BF.3 Identify the effect on the graph of replacing f(x) by f(x) + k, k f(x),

More information

AP Calculus BC Course Description

AP Calculus BC Course Description AP Calculus BC Course Description COURSE OUTLINE: The following topics define the AP Calculus BC course as it is taught over three trimesters, each consisting of twelve week grading periods. Limits and

More information

Mid Term Pre Calc Review

Mid Term Pre Calc Review Mid Term 2015-13 Pre Calc Review I. Quadratic Functions a. Solve by quadratic formula, completing the square, or factoring b. Find the vertex c. Find the axis of symmetry d. Graph the quadratic function

More information

CS 450 Numerical Analysis. Chapter 7: Interpolation

CS 450 Numerical Analysis. Chapter 7: Interpolation Lecture slides based on the textbook Scientific Computing: An Introductory Survey by Michael T. Heath, copyright c 2018 by the Society for Industrial and Applied Mathematics. http://www.siam.org/books/cl80

More information

College Readiness (597 topics) Course Name: College Prep Math Spring 2014 Course Code: ARTD4-3N6XJ

College Readiness (597 topics) Course Name: College Prep Math Spring 2014 Course Code: ARTD4-3N6XJ Course Name: College Prep Math Spring 2014 Course Code: ARTD4-3N6XJ ALEKS Course: Math for College Readiness Instructor: Ms. Dalton Course Dates: Begin: 01/19/2015 End: 06/18/2015 Course Content: 606 Topics

More information

Asymptotic Error Analysis

Asymptotic Error Analysis Asymptotic Error Analysis Brian Wetton Mathematics Department, UBC www.math.ubc.ca/ wetton PIMS YRC, June 3, 2014 Outline Overview Some History Romberg Integration Cubic Splines - Periodic Case More History:

More information

MATH STUDENT BOOK. 12th Grade Unit 4

MATH STUDENT BOOK. 12th Grade Unit 4 MATH STUDENT BOOK th Grade Unit Unit GRAPHING AND INVERSE FUNCTIONS MATH 0 GRAPHING AND INVERSE FUNCTIONS INTRODUCTION. GRAPHING 5 GRAPHING AND AMPLITUDE 5 PERIOD AND FREQUENCY VERTICAL AND HORIZONTAL

More information

A new 8-node quadrilateral spline finite element

A new 8-node quadrilateral spline finite element Journal of Computational and Applied Mathematics 195 (2006) 54 65 www.elsevier.com/locate/cam A new 8-node quadrilateral spline finite element Chong-Jun Li, Ren-Hong Wang Institute of Mathematical Sciences,

More information

8 Piecewise Polynomial Interpolation

8 Piecewise Polynomial Interpolation Applied Math Notes by R. J. LeVeque 8 Piecewise Polynomial Interpolation 8. Pitfalls of high order interpolation Suppose we know the value of a function at several points on an interval and we wish to

More information

Floating-point representation

Floating-point representation Lecture 3-4: Floating-point representation and arithmetic Floating-point representation The notion of real numbers in mathematics is convenient for hand computations and formula manipulations. However,

More information

1. Practice the use of the C ++ repetition constructs of for, while, and do-while. 2. Use computer-generated random numbers.

1. Practice the use of the C ++ repetition constructs of for, while, and do-while. 2. Use computer-generated random numbers. 1 Purpose This lab illustrates the use of looping structures by introducing a class of programming problems called numerical algorithms. 1. Practice the use of the C ++ repetition constructs of for, while,

More information

TI-89 (and 92) Calculus Operations

TI-89 (and 92) Calculus Operations TI 89 1 TI-89 (and 92) Calculus Operations A Preliminaries: 1. Home Screen: This is the screen that appears when the calculator is turned on. To return to the Home screen from other screens, press HOME

More information

Richard Lander School Maths Key Stage 3

Richard Lander School Maths Key Stage 3 Richard Lander School Maths Key Stage 3 Richard Lander School is a maintained school which follows the National Curriculum at both Key Stage 3 and Key Stage 4. Purpose of study Mathematics is a creative

More information

Part I. Problems in this section are mostly short answer and multiple choice. Little partial credit will be given. 5 points each.

Part I. Problems in this section are mostly short answer and multiple choice. Little partial credit will be given. 5 points each. Math 106/108 Final Exam Page 1 Part I. Problems in this section are mostly short answer and multiple choice. Little partial credit will be given. 5 points each. 1. Factor completely. Do not solve. a) 2x

More information

MEI Desmos Tasks for AS Pure

MEI Desmos Tasks for AS Pure Task 1: Coordinate Geometry Intersection of a line and a curve 1. Add a quadratic curve, e.g. y = x² 4x + 1 2. Add a line, e.g. y = x 3 3. Select the points of intersection of the line and the curve. What

More information

3.1 Maxima/Minima Values

3.1 Maxima/Minima Values 3.1 Maxima/Minima Values Ex 1: Find all critical points for the curve given by f (x)=x 5 25 3 x3 +20x 1 on the interval [-3, 2]. Identify the min and max values. We're guaranteed max and min points if

More information

DEPARTMENT - Mathematics. Coding: N Number. A Algebra. G&M Geometry and Measure. S Statistics. P - Probability. R&P Ratio and Proportion

DEPARTMENT - Mathematics. Coding: N Number. A Algebra. G&M Geometry and Measure. S Statistics. P - Probability. R&P Ratio and Proportion DEPARTMENT - Mathematics Coding: N Number A Algebra G&M Geometry and Measure S Statistics P - Probability R&P Ratio and Proportion YEAR 7 YEAR 8 N1 Integers A 1 Simplifying G&M1 2D Shapes N2 Decimals S1

More information

1.1 calculator viewing window find roots in your calculator 1.2 functions find domain and range (from a graph) may need to review interval notation

1.1 calculator viewing window find roots in your calculator 1.2 functions find domain and range (from a graph) may need to review interval notation 1.1 calculator viewing window find roots in your calculator 1.2 functions find domain and range (from a graph) may need to review interval notation functions vertical line test function notation evaluate

More information

An interesting related problem is Buffon s Needle which was first proposed in the mid-1700 s.

An interesting related problem is Buffon s Needle which was first proposed in the mid-1700 s. Using Monte Carlo to Estimate π using Buffon s Needle Problem An interesting related problem is Buffon s Needle which was first proposed in the mid-1700 s. Here s the problem (in a simplified form). Suppose

More information

nag 1d quad gauss (d01bac)

nag 1d quad gauss (d01bac) 1. Purpose nag 1d quad gauss () nag 1d quad gauss () computes an estimate of the definite integral of a function of known analytical form, using a Gaussian quadrature formula with a specified number of

More information

2-5 Rational Functions

2-5 Rational Functions Find the domain of each function and the equations of the vertical or horizontal asymptotes, if any. 3. f (x) = The function is undefined at the real zeros of the denominator b(x) = (x + 3)(x 4). The real

More information

Introduction to Linear Programming

Introduction to Linear Programming Introduction to Linear Programming Eric Feron (updated Sommer Gentry) (updated by Paul Robertson) 16.410/16.413 Historical aspects Examples of Linear programs Historical contributor: G. Dantzig, late 1940

More information

Natural Numbers and Integers. Big Ideas in Numerical Methods. Overflow. Real Numbers 29/07/2011. Taking some ideas from NM course a little further

Natural Numbers and Integers. Big Ideas in Numerical Methods. Overflow. Real Numbers 29/07/2011. Taking some ideas from NM course a little further Natural Numbers and Integers Big Ideas in Numerical Methods MEI Conference 2011 Natural numbers can be in the range [0, 2 32 1]. These are known in computing as unsigned int. Numbers in the range [ (2

More information

Stage 1 (intervention) Stage 2 Stage 3 Stage 4. Advanced 7-8. Secure 4-6

Stage 1 (intervention) Stage 2 Stage 3 Stage 4. Advanced 7-8. Secure 4-6 Stage 1 (intervention) Stage 2 Stage 3 Stage 4 YEAR 7 LAT Grade Emerging (not secondary read) 1-3 Secure 4-6 Advanced 7-8 Advanced + 9 YEAR 8 1 Emerging 2-3 Secure 4-6 Advanced 7-9 Autumn 1 Place Value

More information

GCSE-AS Mathematics Bridging Course. Chellaston School. Dr P. Leary (KS5 Coordinator) Monday Objectives. The Equation of a Line.

GCSE-AS Mathematics Bridging Course. Chellaston School. Dr P. Leary (KS5 Coordinator) Monday Objectives. The Equation of a Line. GCSE-AS Mathematics Bridging Course Chellaston School Dr (KS5 Coordinator) Monday Objectives The Equation of a Line Surds Linear Simultaneous Equations Tuesday Objectives Factorising Quadratics & Equations

More information

Math Precalculus (12H/4H) Review. CHSN Review Project

Math Precalculus (12H/4H) Review. CHSN Review Project Math Precalculus (12H/4H) Review CHSN Review Project Contents Functions 3 Polar and Complex Numbers 9 Sequences and Series 15 This review guide was written by Dara Adib. Prateek Pratel checked the Polar

More information

5.1 Introduction to the Graphs of Polynomials

5.1 Introduction to the Graphs of Polynomials Math 3201 5.1 Introduction to the Graphs of Polynomials In Math 1201/2201, we examined three types of polynomial functions: Constant Function - horizontal line such as y = 2 Linear Function - sloped line,

More information

Section Polar Coordinates. or 4 π (restricting θ to the domain of the lemniscate). So, there are horizontal tangents at ( 4 3

Section Polar Coordinates. or 4 π (restricting θ to the domain of the lemniscate). So, there are horizontal tangents at ( 4 3 Section 10.3 Polar Coordinates 66. r = e θ x = r cos θ = e θ cos θ, y = r sin θ = e θ sin θ. = eθ sin θ+e θ cos θ = e θ (sin θ+cos θ), dx = eθ cos θ e θ sin θ = e θ (cos θ sin θ). Let 1 = 0 sin θ = cos

More information

Number System. Introduction. Natural Numbers (N) Whole Numbers (W) Integers (Z) Prime Numbers (P) Face Value. Place Value

Number System. Introduction. Natural Numbers (N) Whole Numbers (W) Integers (Z) Prime Numbers (P) Face Value. Place Value 1 Number System Introduction In this chapter, we will study about the number system and number line. We will also learn about the four fundamental operations on whole numbers and their properties. Natural

More information

Name: Rational Functions 2.1H. Set Topic: Simplifying rational expressions & operations on rational expressions

Name: Rational Functions 2.1H. Set Topic: Simplifying rational expressions & operations on rational expressions Name: Rational Functions 2.1H Ready, Set, Go! Ready Topic: Polynomial division Use division to determine if the given linear term is a factor of the polynomial. If it is a linear factor, then find the

More information