0% found this document useful (0 votes)
33 views2 pages

x4 B N x4 y Y: Numerical Integration

This document discusses numerical integration techniques including the trapezoidal rule, Simpson's rule, and definite integrals. It provides examples of applying each technique to calculate the integral from 0 to 2 of x^4 - x^2. The trapezoidal rule estimates the value as 2.554 rounded to 3 decimal places. Simpson's rule estimates the value as 2.625 rounded to 3 decimal places. The definite integral calculates the exact value as 2.667. An assignment is given to use trapezoidal and Simpson's rules to approximate two other integrals, rounding the results to 4 decimal places.

Uploaded by

zsapherinez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views2 pages

x4 B N x4 y Y: Numerical Integration

This document discusses numerical integration techniques including the trapezoidal rule, Simpson's rule, and definite integrals. It provides examples of applying each technique to calculate the integral from 0 to 2 of x^4 - x^2. The trapezoidal rule estimates the value as 2.554 rounded to 3 decimal places. Simpson's rule estimates the value as 2.625 rounded to 3 decimal places. The definite integral calculates the exact value as 2.667. An assignment is given to use trapezoidal and Simpson's rules to approximate two other integrals, rounding the results to 4 decimal places.

Uploaded by

zsapherinez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

NUMERICAL

INTEGRATION

TRAPEZOIDAL RULE

2


x 4 x 2 n = 8
0

ba 20 1
x = = =
n 8 4

2


x 4 x 2 = 12 yo + y1 + y2 + .... + y7 + 12 y8 x
0

i xi yi ki ki x yi
0 0 0.000 1/2 0.000
1 0.496 1 0.496
2 0.968 1 0.968
3 1.391 1 1.391
4 1 1.732 1 1.732
5 5/4 1.952 1 1.952
6 3/2 1.984 1 1.984
7 7/4 1.694 1 1.694
8 2 0.000 1/2 0.000
TOTAL 10.217

2 1

0
x 4 x 2 = 10.217 = 2.554
4
rounded off to three (3) decimal places


SIMPSONS RULE

( ) x3
2


0
f (x)dx = yo + 4y1 + 2y2 + 4y3 + 2y 4 + 4y5 + 2y6 + 4y7 + y8

i xi yi ki ki x yi
0 0.000 0.000 1 0.000
1 0.250 0.496 4 1.984
2 0.500 0.968 2 1.936
3 0.750 1.391 4 5.562
4 1.000 1.732 2 3.464
5 1.250 1.952 4 7.806
6 1.500 1.984 2 3.969
7 1.750 1.694 4 6.778
8 2.000 0.000 1 0.000
TOTAL 31.500


1
2
0 x 4 x = 31.500 34 = 2.625
2
rounded off to three (3) decimal places


DEFINITE INTEGRAL

2
1
1
(4 x ) ( 4 2 ) 13 ( 4 0 ) = 83 = 2.667
2 3 3 3
0 x 4 x = 3 =
2 2 2 2

3
0
Assignment:

Use Trapezoidal and Simpsons Rule to approximate the following non-elementary integral.
Use n = 6 and round off to four decimal places.

1


1. e x dx
0

13


2. 1 + x 2 dx
0

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy