Big note: You should make sure the function I use what you meant.
Step-by-step explanation:
I hope the function is h(t)=-16t^2+32t because that is how I'm going to interpret it.
So if we can find when the ball is on the ground or has hit the ground (this is when h=0) then we can find when it is in the air which is between those 2 numbers.