To evaluate a function or an algebraic expression containing variables, values are substituted for the variables. For example, the algebraic expression 2a+3b can be evaluated for a=4 and b=1. 2⋅4+3⋅1