According to newton's second law F = ma
= m * (v1 - v0)/t
Displacement d = t *(v0 + v1)/2
Work is w = f * d
= m * (v1 - v0)/t * [t *(v0 + v1)/2]
= (m/2) * (v1² - v0²)