# math代做 | assignment代做 – 2019 – Profit maximizing firms

#### Profit maximizing firms

math代做 | assignment代做 – 本题是一个利用math进行练习的代做, 对math的流程进行训练解析, 涵盖了math等程序代做方面, 这个项目是assignment代写的代写题目 ### Mathematical Models in Economics

#### Exercises

###### Clear all of the symbols we will be using.
``````In:=Clear [ p1, p2, q1, q2, a11, a12, a21, a22, b1, b2, mc1, mc2, profit1, profit2 ] ;
``````
###### As above, suppose the demands for products are 1 and 2 are linear functions given by
``````In:=q1 [ p1 _ , p2 _] : = a11 * p1 + a12 * p2 + b1;
q2 [ p1 _ , p2 _] : = a21 * p1 + a22 * p2 + b2;
``````

#### (Set up a system of equations, given as a list, and solve for the coefficients.)

``````In:=p1x = 50.; p2x = 40.; q1x = 100.; q2x = 120.;
p1y = 55.; p2y = 40.; q1y = 80.; q2y = 130.;
p1z = 50.; p2z = 45.; q1z = 105.; q2z = 100.;
TableForm [{{ p1x, p2x, q1x, q2x } , { p1y, p2y, q1y, q2y } , { p1z, p2z, q1z, q2z }} , TableHeadings
{{ "time x", "time y", "time z" } , { "price 1", "price 2", "demand 1", "demand 2" }}]
Out//TableForm=
price 1 price 2 demand 1 demand 2
time x 50. 40. 100. 120.
time y 55. 40. 80. 130.
time z 50. 45. 105. 100.
``````

#### products 1 and 2 (profit1[p1_,p2_]:=… and profit2[p1_,p2_]:=…).

``````In:=mc1 = 25; mc2 = 15;
``````

#### maximum at p1=p1m and p2=p2m.

2 02.2-Assignment02.nb