Ensaio historico sobre a origem das mathematicas em Portugal