The time of flight of a projectile on an upward inclined plane depends upon