Mathematica(1) Production Functions
No updates in awhile, whatever.
My latest project has been developing some Mathematica skills. I thought I’d share a few notebooks with you over the weeks as I go…
So this first notebook is one I finished today. Essentially, given any production function, this Mathematica code should be able to output the factor demand, supply curve, and profit maximization functions.
Note, I’m relatively new to Mathematica, so if anyone has any advice on how to make this code more efficient, please let me know! Specifically, I wonder if there’s a better way to figure out the maximization problem as I take an indirect route via matrix algebra. Also, I wouldn’t mind learning how to install a plot function that would graph the supply curve (provided there are less than 3 inputs), given the domains of the output and factor prices.
Mathematica(1):Profit Functions
leave a comment