Can you help me understand and solve this question:
A bullet is fired vertically upwards with an initial velocity of $u$. Form a second order differential equation for acceleration and by integrating twice find an equation for the displacement $s$ traveled by the bullet in terms of time $t$ from firing.
I cannot wrap my head around this. I haven't done any work, don't know even how to start. All I know is that $v(t)=u-gt$, where $v(t)$ is the velocity at time $t$, $u$ is the initial velocity and $-g$ is the earth acceleration. From this it follows that when $t = 0$ the velocity $v(t)$ will be equal to the initial velocity $u$; and at a certain point of time, the velocity $v(t)$ will be equal to zero. Do I need to differentiate the $v(t)=u-gt$ equation to get to the equation for the acceleration? And then integrate the acceleration equation twice? I am not even sure that $v(t)=u-gt$ is the right velocity equation.
Thanks a lot!
In this simple setup the (differential) equations of motion (depending on time t, in one spatial dimension, like up and down) are $$ s^\prime(t) = v(t) ,\, s^ {\prime\prime}(t) ) = v^\prime(t) = a(t) $$ In your case $a(t) = -g$ is a constant. The equation you wrote down $v(t)=u-gt$ is just the integral of the last one with initial condition $v(0) = u$. You need to integrate this once more wrt to $t$ and initial condition = 'height of the end of the gun over the floor' to get $s$.