Nonlinear Function Definition Math