Functions of a real variable model a huge number of situations. One of the most classic is the relationship between the price and the quantity of a good: the demand curve (decreasing) and the supply curve (increasing) meet at the equilibrium point, the solution of a linear system. In this application we look at the linear models, the computation of the equilibrium and some observations on profit and elasticity of demand.