The four-sided gure shown in Figure P26 consists of two triangles having a common side a. The

Question:

The four-sided gure shown in Figure P26 consists of two triangles having a common side a. The law of cosines for the top triangle states that

a2 = b21 + c2- 2b1c1 cos A1


and a similar equation can be written for the bottom triangle. Develop a procedure for computing the length of side c2 if you are given the lengths of sides b1, b2, and c1 and the angles A1 and Ain degrees. Write a script le to implement this procedure. Test your script, using the following values:

b1 = 180 m, b2 = 165 m, c1 = 115 m, A1 = 120°, and A2 = 100°.


Figure P26

b; A, a B1 C2 B2 b2 A2 C2

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: