Artificial Neural Network (ANN) is a computer program designed to simulate the biological neural network. It has been applied in many fields includin…