genetic algorithm (or GA) is a search technique used in computing to find true or approximate solutions to optimization and search problems for function of 2 variable