Variational calculations on a quantum well in an electric field | Synapse