Before you turn this problem in, make sure everything runs as expected. First, restart the kernel (in the menubar, select Kernel\(\rightarrow\)Restart) and then run all cells (in the menubar, select Cell\(\rightarrow\)Run All).
Make sure you fill in any place that says YOUR CODE HERE or “YOUR ANSWER HERE”, as well as your name and collaborators below:
NAME = ""
COLLABORATORS = ""
United Metal#
United metal produces alloys B1 and B2. B1 contains 50% copper and 50% zinc. B2 contains 75% copper and 25% zinc. The net profit on B1 is $120/ton and on B2 is $100/ton. The company has 45 tons of copper available per day, and 30 tons of zinc available per day. How much of each alloy should they make to maximize their profit? What is the profit?
When you are done, download a PDF and turn it in on Canvas. Make sure to save your notebook, then run this cell and click on the download link.
%run ~/f23-06623/f23.py
%pdf