On the critical region of a simple fluid. III. Maxima and minima of thermodynamic functions