A shaft of circular cross section with diameter of 1.5 in is subjected to a M_z=5000 lb in, T=8000 lb in and P=200 KN. If the material is ductile with the yield strength of 40 kpsi find the factor of safety for both max shearing stress criterion and von misses criterion.