Height covered by the plane=h= 500 feet
Distance covered by the plane along the ground=d= 2 mile
Now, convert the mile into feet,
1 mile = 5280 feet
2 mile = 10560 feet
Now, use the formula
h= d tanθ
tanθ= h/d
tanθ= 500/10560
tanθ= 25/528
Take the tan⁻¹ on both side,
θ= tan⁻¹(25/528)
θ =2.71°