Study of the torque of the bacterial flagellar motor using a rotating electric field