Text this: Nonlinear optimization in electrical engineering with applications in MATLABĀ®