Formula For Determining Speed