The Internet Economy

 

> c:=2*q^3-3*q^2+400*q+5000;

[Maple Math]

> tr:=4000*q-33*q^2;

[Maple Math]

> plot({c,tr},q=10..60);

[Maple Plot]

> profits:=tr-c;

[Maple Math]

> plot(profits,q=0..40);

[Maple Plot]

The first derivative of the profit function:

> dpr:=diff(profits,q);

[Maple Math]

Set the first derivative of the profit function equal to zero andf solve for q.

> solve(dpr,q);

[Maple Math]

There are two solutions: q=-30, and q=20. Only the second answer is acceptable because q>0.

Take the second derivative to see which point results in a maximum.

> ddpr:=diff(dpr,q);

[Maple Math]

> eval(ddpr,q=20);

[Maple Math]

Since the second derivative is negative at q=20, we have a maximum, and the function is CONCAVE .

The relationship among Total, Marginal and Average Product.

> TP:=90*k^2-k^3;

[Maple Math]

> MR:=diff(TP,k);

[Maple Math]

> AR:=TP/k;

[Maple Math]

> plot({MR,AR},k=0..70);

[Maple Plot]

AS long as the MR curve is above the AR curve, the AR curve will be riing..More formally, take the derivative of both the MR and the AR functions, finds the maximum points. Note that the MR function reaches a maximum before AR does. See below.

> dMR:=diff(MR,k);

[Maple Math]

> solve(dMR, k);

[Maple Math]

> dAR:=diff(AR,k);

[Maple Math]

> solve(dAR,k);

[Maple Math]

Note that MR reaches a maximum at k=30, and AR reaches a maximum when k=45. Below is graph of the production function.

> plot(TP, k=0..70);

[Maple Plot]

Note that when TP is at maximum MR=0. Solve the MR function with respect to k to detremine the exact value for the variable capital. The value at TP at the point of maximum= 60. Further note that the MR function is simply the first derivative of the TP function.

> solve(MR, k);

[Maple Math]

>