Demand for.a certain product at a price of \(p\) dollars per…