Question: How to write a Python script for this question. 11. (20pts) A 1000 gallon holding tank that catches runoff from some chemical process initially has
How to write a Python script for this question.

11. (20pts) A 1000 gallon holding tank that catches runoff from some chemical process initially has 800 gallons of water with 2 ounces of pollution dissolved in it. Polluted water flows into the tank at a rate of 3 gal/hr and contains 5 ounces/gal of pollution in it. A well-mixed solution leaves the tank at 3 gal/hr as well. When the amount of pollution in the holding tank reaches 500 ounces the inflow of polluted water is cut off and fresh water will enter the tank at a decreased rate of 2 gal/hr while the outflow is increased to 4 gal/hr. Determine the amount of pollution in the tank at any time t. Use a Euler method to solve the differential equation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
