Given,
The initial horizontal velocity of the projectile, u=22.2 m/s
The total displacement covered by the projectile in the x-direction, i.e., the range of the projectile, R=36.0 m
The projectile was launched horizontally, thus the horizontal component of initial velocity, uₓ=u=22.2 m/s
And the vertical component of the velocity, uy=0 m/s
And the angle of projection is θ=0°
The time interval, t, in which the projectile completes its flight is calculated from the equation,
On substituting the known values in the above equation,
The height of the building is calculated from the equation of the motion,
Where y is the final height of the projectile, i.e., y=0 m.
y₀ is the initial height of the projectile, i.e., the height of the building.
g is the acceleration due to gravity.
Let's consider the upward direction as the positive direction. That makes the height of the building a positive value and the acceleration due to gravity a negative value.
On substituting the known values,
Thus the height of the building is 12.86 m