distance vs displacement code example Example: is displacement a vector quantity yes displacement is a vector Quantity