Force + Virtue = Vice

Trying to render that concept in symbols reveals considerable ambivalence about “vice.” Why do we use that term both for an instrument that delivers pressure gradually via a screw and for the second in command of the executive? The definition of vice as evil is not popular.