This code will be use to calculate the speed of an object powered by an airgun