Variational Calculus with Elementary Convexity