You don't need that formula...
You have to find the center quadrangle, start with drawing that shape on x-y coordinates and then try to find the center point(it includes x and y)
I have quadrangle with coordinates x,y (3, 4) (2, 5) (8, 3) (4, 2), can someone explain how to use them in this formula
Centroid - Wikipedia, the free encyclopedia to calculate centroid.
I know how to get the area, but I have no idea how to use these coordinates in this formula. My english my not be perfect, in this case by quadrangle i mean an irregular figure where every angle may differ.
I tried to divide it in two triangles, get their centroid, then (x1,y1)+(x2,y2), but it was wrong, i found this formula and my tutor told me that this is correct, but now I have to figure this out. The problem is with Xi+1, because I understand that this is sum of all these together. When i insert the last x, what should i insert for Yi+1? the first y in list?