Rates of convergence and error estimation formulas for the Rayleigh–Ritz variational method | Synapse