An Artificial Neural Network using a Particle Swarm Optimization for training. (The code and comments are in pt-BR).