find minimum of two variable function calculator. Find all the critic