A bar of mild steel carries an axial pull of 10 kN and a transverse shear force of 5 kN. Taking the elastic limit in tension as 240 MPa, a factor of safety of 3, and Poisson's ratio of 0.3, calculate the diameter of the bar if the criterion is (i) Maximum principle stress theory, (ii) Maximum strain energy theory.