How was Francis Bacon's process of basing discovery on observation and experiment different from medieval ways of thinking