Question: Please do in MATLAB e Chegg Study | Guided S: e Hint: Coordinates X Anc X) D Assignment 4.pdf Secure https://app.lms unimelb.edu.au/bbcswebdav/pid-5834078-dt content-rid-242941412/courses/ENGR100032017
Please do in MATLAB

e Chegg Study | Guided S: \ e Hint: Coordinates X Anc X) D Assignment 4.pdf \ Secure https://app.lms unimelb.edu.au/bbcswebdav/pid-5834078-dt content-rid-242941412/courses/ENGR100032017 SM2/Assignment 4.pdf : Apps G Google - My Home-Blackbo Login-The Universi: Watch Game of Thro Assignment 4.pdf 4 17 The area of a triangle is given by: area-va x (s-a) (s-b) x (s-c) where a, b and c are t lengths of the sides of the triangle, and s is equal to half the sum of lengths of the th sides of the triangle. Write a function computeArea that computes the area of the triangle given the coordinates of the three points that define the triangle. function a = computeArea(p1, p2, p3) Inputs: p1 coordinates of the first point as a vector with coordinates x1 y1] p2 - coordinates of the second point as a vector vith coordinates [x2 y2] p3 - coordinates of the second point as a vector vith coordinates [x3 y3] Output a -area of the triangle Note: This function must use the computeDistance function from the previous question to compute the distance between points. Question3 [10 Marks] 2-32 AM 5/09/2017 2 Type here to search
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
