1. Trapezoidal rule (Numerical integration) example ( Enter your problem )
  1. Formula & Example-1 (table data)
  2. Example-2 (`f(x)=1/x`)
Other related methods
  1. Trapezoidal rule
  2. Simpson's 1/3 rule
  3. Simpson's 3/8 rule
  4. Boole's rule
  5. Weddle's rule

2. Example-2 (`f(x)=1/x`)
(Next example)

1. Formula & Example-1 (table data)





Formula
1. Trapezoidal Rule
`int y dx = h/2 (y_0 + 2 (y_1 + y_2 + y_3 + ... + y_(n-1)) + y_n)`

Examples
1. Find Solution using Trapezoidal rule
xf(x)
1.44.0552
1.64.9530
1.86.0436
2.07.3891
2.29.0250


Solution:
The value of table for `x` and `y`

x1.41.61.822.2
y4.05524.9536.04367.38919.025

Using Trapezoidal Rule
`int y dx = h/2 [y_0+y_4 + 2(y_1 + y_2 + y_3)]`

`int y dx = 0.2/2 [4.0552 + 9.025 + 2xx(4.953 + 6.0436 + 7.3891)]`

`int y dx = 0.2/2 [4.0552 + 9.025 + 2xx(18.3857)]`

`int y dx = 4.9852`

Solution by Trapezoidal Rule is `4.9852`


2. Find Solution using Trapezoidal rule
xf(x)
0.01.0000
0.10.9975
0.20.9900
0.30.9776
0.40.8604


Solution:
The value of table for `x` and `y`

x00.10.20.30.4
y10.99750.990.97760.8604

Using Trapezoidal Rule
`int y dx = h/2 [y_0+y_4 + 2(y_1 + y_2 + y_3)]`

`int y dx = 0.1/2 [1 + 0.8604 + 2xx(0.9975 + 0.99 + 0.9776)]`

`int y dx = 0.1/2 [1 + 0.8604 + 2xx(2.9651)]`

`int y dx = 0.38953`

Solution by Trapezoidal Rule is `0.38953`


This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then Submit Here



2. Example-2 (`f(x)=1/x`)
(Next example)





Share this solution or page with your friends.


 
Copyright © 2023. All rights reserved. Terms, Privacy
 
 

.