f = InterpolatingFunction.Spline({1,2,3},{1,4,9}) print(InterpolatingFunction.Integrate(f)) print(InterpolatingFunction.Integrate(f,1.5,2.5))