Demand, supply and determination of equilibrium