Pātuhitia tēnei: The approximate minimization of functionals