I have an application where I need to determine the time needed to compress a gas in a piston cylinder arrangement a given distance (ie. the time for the piston to travel x inches). Would anyone happen to know the methodology and equations used to find this?