Change in displacement w.r.t time is known as Velocity function V(t)
while integral of V(t) from a start time a to end time b is total distance traveled in that mean time which is functional- a scalar quantity. means a function of a function and its output is always a scalar or complex number.