The Logic of the Sciences and Humanities