The calculation of critical points