GENETIC ALGORITHM
Objective: clear all close all clc %defining our search space x=linspace(0,0.6,150); y=linspace(0,0.6,150); %creating a2Dimensional mesh [xx yy]=meshgrid(x,y); %defining number of iterations cases=100; %setting population sizes options=gaoptimset(\'ga\'); options=gaoptimset(options,\'populationsize\',150); %evaluating the stalagmite…