INPUT (CenterOfMass.xyz) Particle X Y Z M 1 12.270540 11.502850 12.117260 1 2 7.728010 8.497790 7.885160 1 3 7.869350 9.508890 10.786960 1 4 13.143840 8.734620 11.519870 1 5 10.605060 9.578970 11.262570 1 6 10.548840 7.974890 8.998600 1 7 9.395940 10.422620 8.737260 1 8 6.857310 11.265900 8.478320 1 9 12.131900 10.491510 9.213600 1 10 9.452000 12.024600 11.000460 1 11 9.925870 10.576920 13.659540 1 12 10.071320 9.420430 6.340400 1 OUTPUT - Part 1 : Co-ordinates of center of mass x : 9.999998 y : 9.999999 z : 10.000000 OUTPUT - Part 2 : Distance to each particle from the center of mass Particle Distance 1 3.449161 2 3.448349 3 2.323824 4 3.714153 5 1.462001 6 2.324886 7 1.462193 8 3.714095 9 2.324868 10 2.323840 11 3.705478 12 3.705895