The trajectory of a projectile is parabolic in nature. At maximum height, it can be written that
dxdy=0...(1)
Substitute the expression for trajectory into equation (1) and solve to calculate the horizontal distance, for which the projectile attains the maximum height.
dxd[x−20x2]=⇒⇒01−10x=0x=10m
Substitute the value of x in the given expression for the trajectory to obtain the maximum height.
y==(10−20102)m5m