MATLAB programming basics and GA implementation to solve constrained optimization problems in the field of engineering