The speed and velocity of an object are equal when the object is moving in a straight line with a constant speed. In such a case, the object's velocity is equal to its speed and has the same magnitude and direction.
Velocity is a vector quantity that includes both the magnitude (speed) and the direction of motion. If an object is moving in a straight line at a constant speed, its velocity is also constant and points in the same direction as its motion. In this scenario, the speed and velocity of the object are equal because there is no change in direction.
However, it's important to note that speed and velocity can differ when there is a change in direction, even if the object maintains a constant speed. Velocity takes into account the object's displacement over time and its direction, while speed only considers the magnitude of the object's motion.