For a 5 kg rocket and a thrust time of 5 s, what thrust makes the rocket reach a height of 871 m?

distance = 1/2 a t^2

871 = 25 a

gravitational force must be overcome

f - g = m a = 5 a

f = 5 a + g