1. Nine new members were selected from the population pool. The member of the population that could yield the best value was duplicated in the same way and, therefore, the best interval was maintained.
2. Binary encoding: Numbers in the decimal system were turned into the binary system to generate chromosomes.
3. Mating: A set was created with numbers ranging between 1 and 5. It was mated with a new set created by randomly ranking numbers from 6 to 10.
4. Crossover: Assume that two individuals mated were 0110010 and 0111001. At this point, a random number was created between 1 and 7. It was necessary to decide at which digit of the binary string the crossover would be operated. Assume that it was 5. New individuals were created by combining the first five digits of the first individual with the last two digits of the second individual, and the first five digits of the second individual with the last two digits of the first individual. The process concluded that the first individual was 0110001 whereas the second one was 0111010.
5. Mutation: The objective of mutation is to prevent all individuals in the population from starting to yield the same result. Mutation is random selection and transformation of genes from the new individual created by crossover.
6. Iteration: Iteration was applied starting from the fourth step until the best result was obtained.