Python Forum
Acceleration to velocity
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Acceleration to velocity
#2
If you just want to know the velocity at the end of your sample:
velocity += sum(acceleration) / 30000
Just like you were doing for displacement.

If you want a velocity for each acceleration point, I would use numpy.trapz()

https://numpy.org/doc/stable/reference/g...trapz.html

You could do this again to get a time history of displacement.
Reply


Messages In This Thread
Acceleration to velocity - by frohr - May-10-2022, 11:10 AM
RE: Acceleration to velocity - by deanhystad - May-10-2022, 09:25 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020