Sentence:  He not only knew soldiering , but <WSD>mathematics</WSD> , history and literature as well . 
Meaning of the word marked with <WSD> tags:  a science (or group of related sciences) dealing with the logic of quantity and shape and arrangement