Is there a good demonstration or code for the simpson (rule) integration in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is there a good demonstration or code for the simpson (rule) integration in python

i must integrate over a data set of temperatures not following any logic function

17th Apr 2017, 8:22 PM
Olaf Riese
Olaf Riese - avatar
1 Answer
0
If you just want a very approximate value of the integral you could just do it by adding up areas. I think it would an acceptable method for the data you are describing. A possible algorithm could be the trapeze method.
20th Apr 2017, 1:58 PM
spcan
spcan - avatar