TeX source:
Q=f(P,P_A,Y)=1000-2P-2P_A^2-0.01Y^2