A flexible shaft consists of a 3 mm diameter steel wire in a flexible hollow tube which imposes a frictional torque of 0.04 N m per meter when the shaft rotates. The shaft is to be used for applying a torque of 0.1 N m to actuate a switch. What is the maximum length of shaft that may be used if the shear stress in the shaft is not to exceed 50 MPa?