Αποστολή με SMS: Lecture on the calculus of variations and optimal control theory