結果 : how to find total displacement of an object