Pātuhitia tēnei: The Rayleigh-Ritz method for structural analysis /