check the first picture below.
those are the table of values we get for both, at 1 through 5 seconds.
why are both functions equal between the 4th and 5th second?
h(t) is the distance from the ground, check the second picture below, that's pretty much the graph of h(t) usually.
g(t) is the height of the object from the ground.
whilst g(t) is ever increasing, h(t) goes up, reaches a peak point, the vertex, and then goes back down, on its way down, it drops to 69 and then to 0 at the 5th second, however, between 69 and 0, it dropped first to 31 at some time, and then 30, then 29, then 27, then 25.8 and so on till it got to 0.
one of those values between 69 and 0, will match a value between 25.8 and 31.
what does all that mean in this context?
it means that at some point the baseball was at a height predicted g(t) as well as by h(t).