Invia SMS: Calculus of variations