From a window of one building, the angle of depression to the base of the second building is 29.5, and the angle of elevation to the top is 47.833333. If the building are 200m apart, how high is the second building?

To solve this problem, we can use trigonometric ratios.

Let's assign some variables:
Let h be the height of the second building.
Let d be the distance between the two buildings, which is given as 200 m.

We have two angles:
Angle of depression = 29.5 degrees
Angle of elevation = 47.833333 degrees

Now, consider a right-angled triangle formed by the first building, second building, and the line connecting their bases.

In this triangle, we can use the tangent function to relate the angles to the height and distance:
tan(angle of depression) = h / d (Since the angle of depression is the angle between the horizontal and the downward line from the window to the base of the second building)
tan(angle of elevation) = (h + h') / d (Since the angle of elevation is the angle between the horizontal and the line connecting the base and the top of the second building, where h' is the height of the first building)

Now, we have two equations:
tan(29.5) = h / 200
tan(47.833333) = (h + h') / 200

To solve these equations, we need to find the values of h' and d. Given only the angle of depression and angle of elevation, we cannot determine the values of h' and d. Without these values, we are unable to calculate the height of the second building.

Therefore, we need additional information to solve this problem.

To solve this problem, we can use trigonometric ratios.

Let's consider the first building as A and the second building as B.

We are given the following information:
- Angle of depression from building A to the base of building B is 29.5 degrees.
- Angle of elevation from building A to the top of building B is 47.833333 degrees.
- The distance between the buildings is 200 meters.

Let's denote the height of building B as h.

Now, we can create a right-angled triangle with the following information:

B
/|
/ |
/ | h
/ |
/ |
/ |
A------

In triangle ABH, we have:
- Angle AHB is 90 degrees (because it's a right-angled triangle).
- Angle BAH is 47.833333 degrees (given).
- Angle ABH is 29.5 degrees (given).

Using trigonometric ratios, we can write:

tan(BAH) = h / AB (in the right-angled triangle ABH)
tan(ABH) = AB / h (in the right-angled triangle ABH)

Now let's solve for AB (the distance between the buildings):

tan(ABH) = AB / h
tan(29.5) = AB / h

AB = h * tan(29.5) (Equation 1)

Similarly, to solve for h (the height of building B):

tan(BAH) = h / AB
tan(47.833333) = h / AB

h = AB * tan(47.833333) (Equation 2)

We can substitute Equation 1 into Equation 2:

h = (h * tan(29.5)) * tan(47.833333)
h = h * tan(29.5) * tan(47.833333)

Simplifying the equation:

1 = tan(29.5) * tan(47.833333)

Now we can solve for h:

h = 1 / (tan(29.5) * tan(47.833333))

Calculating the value:

h ≈ 1 / (0.5723 * 1.149)
h ≈ 1 / 0.6579
h ≈ 1.518 meters

Therefore, the height of the second building is approximately 1.518 meters.