function ua = UA( a,disa,eqeffort,fl,p,productivity,aara,umw) %Agent's utility function ua=UAS(fl,a,p,productivity,aara,umw)-DA(a,disa,eqeffort); end