If a body moves with varying speed in a fixed direction i.e., with variable velocity, the displacement-time graph is not a straight line, but it is a curve. The velocity at any instant can then be obtained by finding the slope of the tangent drawn on the curve at that instant of time.
![motion](https://flasheducation.online/wp-content/uploads/2024/02/motion.webp)