A structural member is subjected to combined loading so that the fallowing stress occur at a critical point [100 50 40, 50 80 20, 40 20 30]MPa. the yield stregth is σyp = 220MPa. Determine the factor of safety n according to (a) maximum shearing stress theory and (b) maximum engergy of distortion theory.