"to strike sharply," 1719, probably of imitative origin. The noun is from 1737. The word in out of whack (1885) is perhaps the slang meaning "share, just portion" (1785), which may be from the notion of the blow that divides, or the rap of the auctioneer's hammer.
[1885+; probably fr whack, ''share, a just proportion,'' so called perhaps fr the blow that divides something or, like the auctioneer's hammer-rap, signals a fair share or deal]
The human brain: Slip a microchip into snug contact with your gray matter (a.k.a. wetware)/ wetware: the human brain and its DNA code (1980s+ Computer)