A small particle of mass $m$ is pulled to the top of a frictionless half-cylinder (of radius $R )$ by a cord that passes over the top of the cylinder, as illustrated in Figure P7.20. (a) If the particle moves at a constant speed, show that $F=m g \cos \theta .$ (Note: If the particle moves at constant speed, the component of its acceleration tangent to th cylinder must be zero at all times.) (b) By directly inte grating $W=\int \mathbf{F} \cdot d \mathbf{r},$ find the work done in moving th particle at constant speed from the bottom to the top the half-cylinder.