У меня есть функция, которая принимает словарь и возвращает ускорение
Код: Выделить всё
aI put a list of data for a certain parameter (lets call it
Код: Выделить всё
alphaNow I want to integrate these values one by one, to get let's say an array velocity
Код: Выделить всё
vКод: Выделить всё
alphaEdit:
Actually i have a mechanical problem. The ladder is placed against the wall, and because its
Код: Выделить всё
friction coefficientSo i have written a function which returns the
Код: Выделить всё
accelerationКод: Выделить всё
angle between 30° and 90°Anyways, I've calculated
Код: Выделить всё
accelerationКод: Выделить всё
alphaКод: Выделить всё
aI tried
Код: Выделить всё
scipy.integrate.simps()Код: Выделить всё
vКод: Выделить всё
scipy.integrate.quad()I would like to generate an array of velocities
Код: Выделить всё
vКод: Выделить всё
aИсточник: https://stackoverflow.com/questions/345 ... a-function