subject
Mathematics, 06.03.2020 19:32 jordynp2615

Compute the area of a polygon 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 (x1,y1), (x2,y2), ..., (xn, yn), 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=12|(x1y2+x2y3+⋅⋅⋅+xn−1yn+xny1)−(y 1x2+y2x3+⋅⋅⋅+yn−1xn+ynx1)|. Write a function polygon_area( x, y ) that takes two coordinate lists with the vertices as arguments and returns the area.

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 21.06.2019 18:30
The base of a triangle exceeds the height by 9 inches. if the area is 180 square inches, find the length of the base and the height of the triangle.
Answers: 1
question
Mathematics, 21.06.2019 22:20
Line segment eg is partitioned by point f in the ratio 1: 1. point e is at e (0, 4), and point f is at (1, 3). what are the coordinates of point g? (−1, 5) (2, 2) (3, 1) (4, 0)
Answers: 2
question
Mathematics, 22.06.2019 00:00
Percy rides his bike 11.2 miles in 1.4 hours at a constant rate. write an equation to represent the proportional relationship between the number of hours percy rides, x,and the distance in miles, y, that he travels.
Answers: 1
question
Mathematics, 22.06.2019 00:30
$5400 is? invested, part of it at 11? % and part of it at 8? %. for a certain? year, the total yield is ? $522.00. how much was invested at each? rate?
Answers: 1
You know the right answer?
Compute the area of a polygon One of the most important mathematical problems through all times has...
Questions