Question: Present a numerical solution using python and jupyter notebook. You can use scipy. Please also include a graph. The only thing I want is the
Present a numerical solution using python and jupyter notebook. You can use scipy. Please also include a graph. The only thing I want is the code using python and jupyter nb with scipy. The solution is also presented below. Thank you!

Example 4. Mixture problem. First: "36 gallons of a 25% alcohol solution" means: 25%, or one quarter, of the solution is pure alcohol. One quarter of 36 is 9. That solution contains 9 gallons of pure alcohol. Here is the problem: How many gallons of 30% alcohol solution and how many of 60% alcohol solution must be mixed to produce 18 gallons of 50% solution? "18 gallons of 50% solution" means: 50%, or half, is pure alcohol. The final solution, then, will have 9 gallons of pure alcohol. Let x be the number of gallons of 30% solution. Let y be the number of gallons of 60% solution. 1) Total number of gallons x + y = 18 2) Gallons of pure alcohol .3x + y = 9 2') 3x + 6y = 90 Equations 1) and 2') are the two equations in the two unknowns. The solutions are: x = 6 gallons, y = 12 gallons
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
