Numerical integration for sinsoidal wave

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 1K views
pyroknife
Messages
611
Reaction score
4
I have a plot with a bunch of data points. I would like to perform a numerical integration on it. I was just wondering, what method of integrating do you guys think would be best suited for a sinusoidal like curve?
 
Physics news on Phys.org
Well, there is the trapezoidal rule, the midpoint rule, and the Simpson rule. I recall the Simpson rule being the best.