Consider the general case of plane strain where $\boldsymbol{\epsilon}_{\mathrm{s},} \boldsymbol{\epsilon}_{\mathrm{y}}$, and $\gamma_{x y}$ are known. Write a computer program that can be used to determine the normal and shear strain, $\boldsymbol{c}_3$ and $\gamma_{r^{\prime} y^{\prime}}$, on the plane of an element oriented $\theta$ from the horizontal. Also, include the principal strains and the element's orientation, and the maximum in-plane shear strain, the average normal strain, and the element's orientation.