At a certain location on the surface of an engineering component, the material is in a state of plane stress with principal stresses of fmax = 150 MPa and fmin = 50 MPa (both tensile). If the yield strength of the material is Y = 350 MPa, determine the factor of safety according to:
(a) the maximum shear stress theory of failure.
(b) the maximum distortion energy theory of failure.