This question already has an answer here:
Given the number of vertices
N of a convex polygon and each of their
(x, y) calculate the polygon's area. vertexes are in clockwise order
You must handle all
N <= 45 ,
-600 <= x,y <= 600, and your answer must be accurate to at least 2 decimal places.
3 1 6 1 2 -4 2
The area is 10.00.
This is code-golf, fewest bytes wins. Input to be taken in code.