MATLAB CODES Monday, 04 March 2024 11 Genetic Algorithms (GA) : fitnessFcn = @(x) (x(1)-1)^2 + (x(2)-2)^2; nvars = 2; lb = [0; 0]; ub = []; options = optimoptions ('ga', 'Display', ' iter '); [x, fval ] = ga( fitnessFcn , nvars , [], [], [], [], lb , ub , [], options); Quadratic Programming (QP): H = [1 -1; -1 2]; f = [-2; -6]; A = [1 1; -1 2; 2 1]; b = [2; 2; 3]; [x, fval ] = quadprog (H, f, A, b); Multiobjective Optimization: fun1 = @(x) x(1)^2 + x(2)^2; fun2 = @(x) (x(1)-1)^2 + (x(2)-1)^2; fun = @(x) [fun1(x), fun2(x)]; [x, fval ] = fmincon (fun, x0, A, b, [], [], lb , ub ); STATISTICS, LAPLACE TRANSFORM AND NUMERICAL METHODS