From a point on hill-side of constant inclination. the angle of elevation of the top of a flagstaff on its summit is observed to be
Know your College Admission Chances Based on your Rank/Percentile, Category and Home State.
Get your JEE Main Personalised Report with Top Predicted Colleges in JoSA
Let OP be the flagstaff oh height h and Q be the inclination of the hill.

Then,
and RQ = a
From
Also,
So, in
So, from Eqs. (i) and (ii), we have