Critical thinking, trial and error, and pure logic abound.