Evaluate A Linear and A Nonlinear Function