# Homework Help: Distance traveled for current velocity and constant acceleration as known variables

1. Jun 3, 2012

### CarlosMarti12

1. The problem statement, all variables and given/known data

Suppose an object has a velocity $v$ and an acceleration of $a$, where $a$ is negative. The object will eventually reach a velocity of zero $v = 0$. How much distance will the object travel until $v = 0$?

2. Relevant equations

v = u + at
s = 0.5(u+v)t
s = ut + 0.5 at2
v2 - u2 = 2as

3. The attempt at a solution

Since v2 - u2 = 2as, s = -u2/2a. I implemented this formula into a program I am using, but the object did not stop at the given distance. Am I doing something obviously wrong here? Any help would be greatly appreciated.

2. Jun 3, 2012

### dipole

Re: Distance traveled for current velocity and constant acceleration as known variabl

Well, using equation 1, set v = 0 and solve for t. Then plug that value into equation 3.