Код: Выделить всё
x
Код: Выделить всё
x y=f(x)
0.1 10.5
1.2 2.0
3.7 11.0
7.0 4.0
< /code>
Теперь я могу использовать правило Simpon от scipy.integrate таким образом? < /p>
from scipy.integrate import simps
I = simps(y,x)
Подробнее здесь: https://stackoverflow.com/questions/312 ... als-python