3. A Popsicle company makes three flavors of popsicles. Popsicle A requires 3 oz
ID: 3111244 • Letter: 3
Question
3. A Popsicle company makes three flavors of popsicles. Popsicle A requires 3 oz. of orange flavoring, 2 oz. of mango flavoring, and 1 oz. of peach flavoring. Popsicle B requires 3 oz. of orange flavoring, 1 oz. of mango flavoring, and 2 oz. of peach flavoring. Popsicle C requires 2 oz. of orange flavoring, 1 oz. of mango flavoring, and 2 oz. of peach flavoring. Use Python to determine how many of each Popsicle can be made with 915 oz. of orange flavoring, 465 oz. of mango flavoring, and 525 oz. of peach flavoring?
Explanation / Answer
Suppose, x,y and z units of Popsicle A,B and C are made respectively.
So, 3x + 3y + 2z = 915
2x + y + z = 465
x + 2y + 2z = 525
Python code:
-----------------------------------------------------
------------------------------------------------------------------------
We get the value x =
Thus, 135 units of Popsicle A, 120 units of Popsicle B and 75 units of Popsicle C can be made.
DO THUMBS UP ^_^
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.