Enviar por SMS: Optimal control: an introduction to the theory and its applications