Sampling Accelerometer data to detect a pothole need help and guidance

Hey Peter yeah my experiment has a start and stop button so I can drive holding a button in my hand and can turn on and off the logging right before and right after the "pothole" or bump in the road. I'm wondering what the sample rate should be, also for a time scale

I was going to do maybe a milis() then do an analogread then do another millis, then the difference would be the time stamp for the data to plot?

It seems like the maximum I can get my car to "oscillate is about 9HZ, the bandwidth of the accelerometer is 50Hz so I should be sampling 100 times a second???

Also

"integrating the total impulse over (say) a tenth of a second."

Is the arduino capable of doing this fast enough? I'm also going to be running GPS data and other things

How would you Integrate the impulse on the arduino is there a library to use ?