(a) Use the function ψ(x)=Ax(a−x) (for 0<x<a, otherwise 0) to get an upper bound on the ground state of the infinite square well.
(b) Generalize to a function of the form ψ(x)=A[x(a−x)]p, for some real number p. What is the optimal value of p, and what is the best bound on the ground state energy? Compare the exact value. *Answer:* (5+26)ℏ2/2ma2.