Question: Note : use python here One of the most important mathematical problems through all times has been to find the area of a polygon. For

Note : use python here
One of the most important mathematical problems through all times has been to find the area of a polygon. For example, real estate areas often had the shape of polygons, and the tax was proportional to the area. Suppose we have some polygon with vertices ("corners") specified by the coordinates (x_1, y_1), (x_2, y_2), ..., (x_n, y_n), numbered either in a clockwise or anticlockwise fashion around the polygon. The area A of the polygon can amazingly be computed by just knowing the boundary coordinates: A = 1/2|(x_1y_2 + x_2y_3 + ... + x_n - 1 y_n + x_ny_1) - (y_1x_2 + y_2x_3 + ... + y_n - 1 x_n + y_nx_1)|. Write a function polygon_area (x, y) that takes two coordinate lists with the vertices as arguments and returns the area. (This assignment is based on Langtangen, Exercise 3.19.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
