The tan angle opposite to opposite side and the hypotenuse is the ratio of opposite side to the hypotenuse side.
The distance between the building and Diana after walking is,17.6 ft.
<h3>How to calculate the sides of right angle?</h3>
The tan angle opposite to opposite side and the hypotenuse is the ratio of opposite side to the hypotenuse side.
Given information-
The height of the building is 130 ft.
Initial angle of the Diana with the building when she looks up, is 37 degrees.
The angle when, Diana walks forward looking to the top of the building changes to 40°.
Suppose Diana was x meter away, from the building when the angle was 37 degrees.
The Diana walks forward and her angle looking to the top of the building changes to 40°.
As tan angle is the ratio of opposite side to the hypotenuse. Therefore

Now suppose the distance covered by Diana after walking is y ft. Thus again by the right angle property,

As the initial distance from building is 172.5 fr and distance covered by Diana is 154.9 ft. Thus the distance between the building and Diana after walking is,

Hence the distance between the building and Diana after walking is,17.6 ft.
Learn more about the trigonometry here;
brainly.com/question/21286835