Text this: Variational method in the design of an optimum solar water heater storage tank