SMS: Functional equations in economics