| Download
All published worksheets from http://sagenb.org
Project: sagenb.org published worksheets
Views: 168733Image: ubuntu2004
First we derive the hacker supply functions
\frac{{{f_{2} q_{2}} {L_{1}}^{1 - \alpha} }}{f_{1}}
\frac{{{f_{1} q_{1}} {L_{2}}^{1 - \alpha} }}{f_{2}}
Then using the demand functions we get the optimal hacking levels
<html><div class="math">\frac{{{p_{2}}^{\beta} A}}{{{f_{2} p_{1}} q_{2
/div>
\frac
<html><div class="math">\frac{{{p_{1}}^{\beta} A}}{{{f_{1} p_{2}} q_{1
/div>
\frac
{{{{{f_{1}}^{{\alpha}^{2} - 1} {p_{1}}^{{\left( \alpha - {\alpha}^{2} \right) \beta} + \alpha - 1} } {p_{2}}^{{\left( 1 - \alpha \right) \beta} + {\alpha}^{2} - \alpha} } {q_{1}}^{{\alpha}^{2} } } {A}^{1 - {\alpha}^{2} } }
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/sage/sagenb/sage_notebook/worksheets/nagyv/1/code/8.py", line 7, in <module>
exec compile(ur'solve([q1==q1.substitute(q2=sol2[_sage_const_0 ][_sage_const_1 ].right()).simplify_full()], q1)' + '\n', '', 'single')
File "/home/sage/sage_install/sage-a/local/lib/python2.5/site-packages/SQLAlchemy-0.4.6-py2.5.egg/", line 1, in <module>
File "/home/sage/sage_install/sage-a/local/lib/python2.5/site-packages/sage/calculus/equations.py", line 1563, in solve
raise TypeError, "%s is not a valid variable."%v
TypeError:
alpha alpha - 1 beta - alpha beta alpha 1 - alpha
f2 p1 p2 q2 A
----------------------------------------------------------
f1 is not a valid variable.
\frac{{{\left( {{p_{1}}^{{\alpha \beta} - 1} {p_{2}}^{\beta - \alpha} } \right)}^{\frac{1}{\alpha + 1}} A}}{{f_{1} {f_{2}}^{\frac{\alpha}{1 - {\alpha}^{2} }} }}