In this paper, we define a functional optimization problem corresponding to smooth functions which its optimal solution is first derivative of these functions in a domain. These functional optimization problems are applied for non-smooth functions which by solving these problems we obtain a kind of generalized first derivatives. For this purpose, a linear programming problem corresponding functional optimization problem is obtained which their optimal solutions give the approximate generalized first derivative. We show the efficiency of our approach by obtaining derivative and generalized derivative of some smooth and nonsmooth functions respectively in some illustrative examples.
展开▼