The article examines the possibility of applying elements of the calculus of variations to determine the quasi-optimum distribution of production at the time in terms of stochastic. The discussion concerns the problems of modeling the distribution of production in a situation where we are dealing with a single product. Then, it has been generalized to a larger number of simultaneously produced ranges. In summary, it was the topic of the proposed methods possibilities of applications in practice firms.