Numerical Integration - Problem

Click For Summary

Homework Help Overview

The discussion revolves around numerical integration, specifically using data sets to approximate integrals. Participants are exploring the application of the trapezoidal rule and discussing the necessary parameters such as the values of h and N.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants are attempting to clarify the definitions of variables in the data set and how they relate to the integration process. Questions are raised about the values of h and N, and how to apply the trapezoidal rule to compute the area under the curve.

Discussion Status

The discussion is active, with participants providing guidance on how to substitute values into the integration formula. There is a mix of interpretations regarding the data set and its application, with some participants suggesting specific calculations while others seek confirmation of their methods.

Contextual Notes

There is uncertainty regarding the definitions of certain variables in the data set, and participants are working under the assumption that they need to derive values for h and N based on the provided data. The original poster expresses a desire for step-by-step guidance without complete solutions.

Hurly
Messages
18
Reaction score
0

Homework Statement



Hey I Need Help With Numerical Integration:

I Have Data Sets Which is Shown In The Picture Below

http://imageshack.us/photo/my-images/69/numericalintegration.png/

Could Someone Use One of The Data Sets to Show Hows it Done Then i'll Do The Rest of Them

Needed Answers:

The H Value-
The N Value-
The Total Area-

Homework Equations



Areai = h * (F(Xi)+F(Xi+1) / 2)

With Xi+1 = Xi+hN = (XFinal - XInitial) / h

Total Area = Sum of The Areai values from 0 - N-1
 
Physics news on Phys.org
Hey Hurly and welcome to the forums.

The data says b,c,d but doesn't define what they are. Let's assuming that they are 2nd, 3rd and 4th observations corresponding to f(x1), f(x2) and f(x3).

Then as an example the first line corresponds to f(x1) = 1, f(x2) = 4, f(x3) = -6, f(x0) = 3 and f(x4) = 4.

You will have to use some defined or calculated value for h. Using this information, can you find the approximate integral between x0 and x4 with your formula?
 
\frac{Xf-Xi}{2*n}* (f(x0)+2*f(x1)+2*f(x2)+2*f(x3)+f(x4))

\frac{4-3}{2*n}* (f(3)+2*f(1)+2*f(4)+2*f(-6)+f(4))

0.13*(f(3)+2*f(1)+2*f(4)+2*f(-6)+f(4))
 
Excellent! Now just replace those "f"s with the correct value from your data set and do the arithmetic.
 
Data Set Example

x0 = -1 ( X initial)
x1 = 0
x2 = 1
x3 = 2
x4 = 3 ( X Final)

5 data Sets so 4 Traps

N = 4

H = \frac{xFinal - xInitial}{n}

H = \frac{3 - (-1)}{4} = 1

H = 1

Area = \frac{1}{2}*H*(x0+2(x1+x2+x3)+x4)

Area = \frac{1}{2}*1*(-1+2(0+1+2)+3)

Area = 4

- Is This The Correct Way?
 
Is This Correct?
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K