結果 : formula to find displacement of an object