Basically I am trying to integrate something of the following form:
The "data" in the image would be the area under the curve of a set of data points. Without the additional "t" in the integrand, I am able to integrate it just fine without any issues. However, I cannot find a way to symbolically multiply each of the data points by "t" and then integrate over t. I have tried the trapz function from NumPy and the simps function from scipy. Both result in an array of every data entry value multiplied by t which I clearly do not want. If it helps, I do have bounds of the integral, so it should yield a definite answer.
Hopefully my question is clear, and it isn't too obvious. Any help would be much appreciated!
Edited: to fit guidelines.
