Evaluating expressions with function notation