SMS versenden: Calculus of variations with applications