Answer:
Given the equation:
.....[1]
If t = 0, then h = 0.
Substitute these in [1] we get;


Simplify:

Also, it is given that the acceleration due to gravity (a) = 
then;
[1] ⇒
If the ball reaches a maximum height of 25 ft and spends a total of 2.5 s in the air.
⇒ total time = 2.5 s
The height of ball is maximum at t =1.25 s
⇒h(1.25) = 25 ft
we have;

Solve for velocity(v);


Divide both sides by 1.25 we get;


Add 20 both sides to an equation we get;
v = 40 ft\s
Therefore, the equation become to models the height of the ball is;