Question: 20. Write a user-defined function that plots a triangle and the circle that is inscribed inside, given the coordinates of its vertices. For the function
20. Write a user-defined function that plots a triangle and the circle that is inscribed inside, given the coordinates of its vertices. For the function name and arguments, use TriCirc(A,B,C). The input arguments are vectors with the x and y coordinates of the vertices, respectively. This function has no output arguments. Use the function with the points (2.6, 3.2), (11, 14.5), and (–2, 2.8).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
