Calculus has been used in solving many scientific and engineering problems. For optimization problems, however, the differential calculus technique sometimes …