Can I use experimental data to solve equations with integrals?

Click For Summary
SUMMARY

This discussion focuses on using experimental data to evaluate integrals, specifically the equation B = ∫G(f)df. The user inquires whether multiplying corresponding values of G(f) and f, followed by summation, constitutes integration. The response clarifies that this method approximates integration but lacks precision. It suggests using numerical integration techniques available in data analysis software like MATLAB for more accurate results.

PREREQUISITES
  • Understanding of integral calculus and numerical integration techniques
  • Familiarity with experimental data analysis
  • Basic knowledge of MATLAB or similar data analysis software
  • Concept of Riemann sums and their relation to integrals
NEXT STEPS
  • Research numerical integration techniques in MATLAB
  • Learn about Riemann sums and their applications in data analysis
  • Explore advanced numerical methods like Simpson's Rule and Trapezoidal Rule
  • Investigate plotting techniques for visualizing functions and their integrals
USEFUL FOR

Researchers, data analysts, and students in fields requiring integration of experimental data, particularly those using MATLAB for numerical computations.

rakue
Messages
1
Reaction score
0
Hi, I don't know if this is the proper part of the forum to ask this, but I'm trying to figure out how I can obtain a certain value from an equation that contains an integral if I want to use experimental data. To keep it simple, the equation looks like this:

B= (∫G(f)df)2 / (∫G(f)2df)

where it is to be evaluated from 0 to ∞.

But to keep my question simple, say, my equation is: B= ∫G(f)df

Now, I have experimental values for "G(f)" and it's corresponding "f" (I'm not even sure if I'm understanding this correctly).

Is it right for me to simply, multiply the G's with their corresponding f's and then take the sum? So in effect, I'm basically doing this:

Ʃ(Gi*fi) where i is the index for each value of f

Am I still integrating if I do this? If not, what's the proper approach to this?

Thank you very much for all your help.
 
Physics news on Phys.org
Based on the equations you have written, why not plot G(f) v. f and [G(f)]^2 v. f ?

If these plots turn out to be smooth curves, there are a number of numerical integration techniques which you can use to calculate B.
 
rakue said:
Is it right for me to simply, multiply the G's with their corresponding f's and then take the sum? So in effect, I'm basically doing this:

Ʃ(Gi*fi) where i is the index for each value of f

Am I still integrating if I do this? If not, what's the proper approach to this?

What do you mean by the index for each value of f? I think what you're referring to is incorrect. Numerical integration techniques basically rely on one or another method for calculating the area under a curve, so you need some measure of "width."

In the simplest case, \int G(x) dx could be approximated by \sum{G(x_{i}) \Delta x} where \Delta x is an appropriate measure of the "width" of a column whose height is determined by G(x_{i}). Usually this would just be: \Delta x = (x_{i+1}-x_{i}) Graphically, it would look like approximating the area under the curve with a set of vertical bars (this is a pretty common teaching tool for basic calculus: the actual integral is basically the limit as \Delta x \rightarrow dx, at least when we're talking about a Riemann integral).

With that said, that method is very rudimentary (although that might be what you're looking for, depending on the context of your question) and is rarely, if ever, used in actual numerical computations or data analysis. If you're using any kind of data analysis software (i.e. MATLAB) there are much more accurate techniques for numerical integration.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
6K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K