Using Functions In Models And Decision Making Regression In Linear And Nonlinear Functions