The theory of price uncertainty, production and profit