A thin wire of constant linear mass density $k$ takes the shape of an arch of the cycloid $$x = a(t − \sin t),\quad y = a(1 − \cos t), \quad 0 ≤ t ≤ 2π.$$
Determine the mass $m$ of the wire, and find the location of its center of mass.
I am assuming I am supposed to use line integrals and vector fields to solve this. Any help would be appreciated. :)
Hints:
To find the mass, find the arc-length and multiply with the density.
To find the center of mass, you know that, due to symmetry, it must lie halfway through the arc in the $x$-direction. Now you only need to find the mean value of the $y$-values present in the arc.