find centroid

Job ID: 31442887

Budget: $30 – $250 SGD

In STM32CubeIDE, using ARM Cortex-M4 system on chip on the STM32L475VG board using assembly language from points given c programming, differentiate the 8 points (x,y) to class 1 or 2, base on the formula given d^square=(x2-x1)^square+(y2-y1)^square. to calculate the distance to centroid 1 & centroid 2 for the points, after getting all the information, calculate the new centroid 1and new centroid 2 for points in each class.