Statement The demand function is p=45−0.5qp=45-0{.}5qp=45−0.5q (in €). At the market price p0=30 €p_0=30\ \text{€}p0=30 € (with q0=30q_0=30q0=30) compute the consumer surplus. Solution CS=∫0q0p(q) dq−p0 q0CS=\displaystyle\int_{0}^{q_0} p(q)\,dq-p_0\,q_0CS=∫0q0p(q)dq−p0q0. CS=∫030(45−0.5q) dq−30⋅30=[45q−0.25q2]030−900.CS=\int_{0}^{30}(45-0{.}5q)\,dq-30\cdot 30=\big[45q-0{.}25q^{2}\big]_{0}^{30}-900.CS=∫030(45−0.5q)dq−30⋅30=[45q−0.25q2]030−900. CS=(1350−225)−900=225 €.CS=(1350-225)-900=\boxed{225\ \text{€}}.CS=(1350−225)−900=225 €.