結果 : how to calculate vector components