What did the writings of ptolemy and archimedes make obvious?