Solve the problem stated in the previous section. If your program has no errors, you should obtain , which is remarkable considering that only four basis states have been taken into account.
Compare graphically the variational ground-state to the exact one, given by Eq.(38).