Skip to main content
Notice removed Draw attention by Roman
Bounty Ended with userrandrand's answer chosen by Roman
edited title
Link
user64494
  • 29.1k
  • 4
  • 29
  • 56

How to integrate a function which is only known at discrete points?

Mod Moved Comments To Chat
added 47 characters in body
Source Link
Roman
  • 49.8k
  • 2
  • 57
  • 131

I have an integration to do. I want to integrate.

$\int_0^\infty \sin^2(2\pi t)f(t)\mathrm{d}t$$$ \int_0^\infty \sin^2(2\pi t)f(t)\mathrm{d}t $$

where $f(t)$ takesis known only at discrete values fromgiven in an array in the form $\{t,f(t)\}$ $\{t_i,f_i\}$ with $i=1\ldots n$.

The time steps in the array is 1.1s. Can you please suggest a method to do this? I tried using the Trapezoidal method for numerical integration but gave a bad approximation. Is there an easy method with inbuilt function or another method?

I have an integration to do. I want to integrate.

$\int_0^\infty \sin^2(2\pi t)f(t)\mathrm{d}t$

where $f(t)$ takes values from an array in the form $\{t,f(t)\}$

The time steps in the array is 1.1s. Can you please suggest a method to do this? I tried using the Trapezoidal method for numerical integration but gave a bad approximation. Is there an easy method with inbuilt function or another method?

I have an integration to do. I want to integrate

$$ \int_0^\infty \sin^2(2\pi t)f(t)\mathrm{d}t $$

where $f(t)$ is known only at discrete values given in an array in the form $\{t_i,f_i\}$ with $i=1\ldots n$.

The time steps in the array is 1.1s. Can you please suggest a method to do this? I tried using the Trapezoidal method for numerical integration but gave a bad approximation. Is there an easy method with inbuilt function or another method?

Notice added Draw attention by Roman
Bounty Started worth 500 reputation by Roman

I have an integration to do. I want to integrate.

$\int_0^\infty sin^2(2\pi t)f(t)dt$$\int_0^\infty \sin^2(2\pi t)f(t)\mathrm{d}t$

where $f(t)$ takes values from an array in the form $\{t,f(t)\}$

The time steps in the array is 1.1s. Can you please suggest a method to do this? I tried using the Trapezoidal method for numerical integration but gave a bad approximation. Is there an easy method with inbuilt function or another method?

I have an integration to do. I want to integrate.

$\int_0^\infty sin^2(2\pi t)f(t)dt$

where $f(t)$ takes values from an array in the form $\{t,f(t)\}$

The time steps in the array is 1.1s. Can you please suggest a method to do this? I tried using the Trapezoidal method for numerical integration but gave a bad approximation. Is there an easy method with inbuilt function or another method?

I have an integration to do. I want to integrate.

$\int_0^\infty \sin^2(2\pi t)f(t)\mathrm{d}t$

where $f(t)$ takes values from an array in the form $\{t,f(t)\}$

The time steps in the array is 1.1s. Can you please suggest a method to do this? I tried using the Trapezoidal method for numerical integration but gave a bad approximation. Is there an easy method with inbuilt function or another method?

edited title
Link
m_goldberg
  • 108.1k
  • 16
  • 104
  • 259
Loading
Source Link
jason
  • 275
  • 1
  • 8
Loading