The angle of elevation to the top of a building from a point on the ground 20 degrees and the angle of elevation from a point 25 feet farther away is 12 degrees. Find the height of the building.

How would I begin to solve this problem? I do not know what I'm doing wrong, my answer keeps on ending up to be -8.476 when it's supposed to be 12.774

Suppose the closer point is at distance x. Then you have

h/x = tan 20°
h/(x+25) = tan 12°

eliminate x and you have

h/tan20° = h/tan12° - 25
h = 25/(cot12°-cot25°) = 12.774

To solve the problem, you can use trigonometric ratios, specifically the tangent function. Let's break down the steps to find the height of the building:

1. Draw a diagram: Sketch a right-angled triangle to represent the situation. Label the point where the first angle of elevation is measured as "A" and the point where the second angle of elevation is measured as "B". Label the top of the building as "T" and the distance between points A and B as "25 feet."

2. Set up the equations: Let's denote the height of the building as "h" and the distance from point A to the building as "x." From point A, the tangent of the angle of elevation can be expressed as "tan(20°) = h/x." Similarly, from point B, the tangent of the angle of elevation can be expressed as "tan(12°) = h/(x + 25)."

3. Solve the equations: Rearrange the first equation to solve for x: "x = h/tan(20°)." Substitute this value of x into the second equation: "tan(12°) = h/(h/tan(20°) + 25)." Simplify this equation to get "tan(12°) = tan(20°)/(h/tan(20°) + 25)".

4. Apply the properties of tangent: Use the property of tangent that states "tan(A) = sin(A)/cos(A)." Apply this to both sides of the equation: "sin(12°)/cos(12°) = sin(20°)/(h/tan(20°) + 25)."

5. Simplify the equation: Rearrange the equation: "sin(12°)/cos(12°) = (25*sin(20°) + cos(20°)*h)/h." Now, substitute the values of sin(12°) ≈ 0.2079 and cos(12°) ≈ 0.9781, as well as sin(20°) ≈ 0.3420 and cos(20°) ≈ 0.9397: "0.2079/0.9781 = (25*0.3420 + 0.9397*h)/h."

6. Solve for h: Cross multiply the equation to eliminate the denominator: "0.2079h = 0.3420*25 + 0.9397*h." Simplify further: "0.2079h - 0.9397h = 8.55 + 0.2079h." Combine like terms: "-0.7318h = 8.55." Finally, isolate h by dividing both sides by -0.7318: "h ≈ -8.55 / -0.7318 ≈ 11.675."

Based on these calculations, the height of the building is approximately 11.675 feet. It seems that you made a sign error while performing the calculations, which resulted in a negative value for h. Make sure to double-check your calculations to ensure accuracy.