Write the shear and moment equations for the semicircular arch shown if (a) the load $P$ is vertical as shown, and (b) the load is applied horizontally to the left at the top of the arch.

Write the shear and moment equations for the semicircular arch shown if (a) the load $P$ is vertical as shown, and (b) the load is applied horizontally to the left at the top of the arch.