The initial vertical velocity of the javelin is given by the expression:
During the flight time, the vertical velocity changes due to the gravitational acceleration. When the javelin touches the ground, the magnitude of its velocity is the same but the direction has changed.
Since the vertical movement of the javelin can be modeled as a uniformly accelerated motion, we can find the time that the javelin is in the air using the equation:
Isolate t from the equation and replace v_f=-v_0:
Replace the expression for v_0 and a=-g:
Finally, replace v_0=28.5m/s, g=9.81m/s^2 and θ=43.2º:
Therefore, the answer is: 3.98 seconds.