Question: Write the code using matlab coding 2. Areas of triangles and polygons (a) The area of the triangle can be found from the following relation
Write the code using matlab coding

2. Areas of triangles and polygons (a) The area of the triangle can be found from the following relation when all the sides are known triangleArea = Where S S(S-a)(S-b)(S-c) Write a function to compute the area of the triangle, given all 3 sides (b) If you know the lengths and the angle between two adjacent sides of a triangle, you can find the area of the triangle from the following relation Write a function to compute the area of the triangle, given the two sides and angle (c) Consider the parallelogram, with the following values for the sides and angles triangleArea--absin() a = 7 feet b- 8 feet c = 5 feet d 6 feet e -3 feet Cx 66 = 850 Write a script file that calculates the area of the parallelogram, using the functions defined in (a) and (b)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
