Consider the general case of plane strain where $\epsilon_{x}, \epsilon_{y},$ and $\gamma_{x y}$ are known. Write a computer program that can be used to determine the normal and shear strain, $\epsilon_{x^{\prime}}$ and $\gamma_{x^{\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.