If time of flight of a projectile is 10 seconds. Range is 500 m. The maximum height attained by it will be