Certain extremum problems arising in applications and associated computation