E for young's modulus is the ratio of simple stress and simple strain ie tensile or comp stress and strain whereas in case of modulus of rigidity it is the ratio of shear stress to shear strain