Genetic Algorithm - To calculate the global maxima of the stalagmite function
Objective: The global maxima of the stalagmite function can be calculated by the following method. The first graph indicates the global maxima and the second one indicates the location of Global Maxima. Stalagmite function function[t]=stalagmite(x_y) x=x_y(1); y=x_y(2); t1=[sin(5.1*pi.*x+0.5)].^6; t2=[sin(5.1*pi.*y+0.5)].^6;…