The distance between the building and the ladder is 34.876 foot.
<h3>What is a Right Triangle?</h3>
A triangle in which one of the angle measure is equal to 90 degree is called a right triangle.
The ladder forms a right triangle with the building and the ground,
The length of the triangle is 40 foot
The angle made by the ladder is 29.32 degree
By using Trigonometric Ratios
cos 29.32 = Base / Hypotenuse
cos 29.32 = Base / 40
0.8718 × 40 = Base
Base = 34.876 foot
Base is the distance between the building and the ladder.
Base of the ladder = 34.876 foot
To learn more about trigonometric functions from the given link
brainly.com/question/24336684
#SPJ4