Arturo O. answered 07/30/20
Experienced Physics Teacher for Physics Tutoring
vf2 = v02 + 2aΔx
v02 = vf2 - 2aΔx
v0 = √(vf2 - 2aΔx)
vf = 0 ⇒
v0 = √(-2aΔx)
Note that the acceleration 'a' must be negative, since the object slows down from v0>0 to vf=0. Furthermore, Δx is a distance (i.e. positive), so the argument of the square root is positive.