Respuesta :
Answer:
In that scenario, you will have the shape of a triangle, with the measures of two sides (the two slopes of the roof) and one angle (the peak angle).
Based on that it's easy to find out the length of the other side of the triangle, which in this case would the width of the house, going from the ending tip of the left part of the roof to the ending tip of the right part of the roof.
Let's name a and c the sides of the roof, and the angle B the peak of the roof.
We are then looking for the length of the b side, that would connect sides a and c.
By the Cosines Law, we know that
[tex]cos(B) = \frac{c2 + a2 - b2}{2ca}[/tex]
Which we can transform to isolate b, this way:
[tex]b = \sqrt{a^{2} + c^{2} - 2 * a * c * cos(B)}[/tex]
So, you just have to enter the length of both sides of the roof and the angle, to get the measurement of the width of the house.
Using the Law of Cosines.
As with many math problems, there are a number of ways this problem can be worked. Perhaps the most straightforward is to use the Law of Cosines to compute the side (c) opposite the given angle (C), given the sides (a, b) adjacent to that angle.
c² = a² + b² -2ab·cos(C)
Then the desired width of the house is ...
c = √(c²)
got a 100% on EDGE2022