We need to do some integrals of polynomials to compute
Now we optimize the parameter.
This is close to the right answer. As always, it is treated as an upper limit on the ground state energy.