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.

How to write a Python script for this question. 11. (20pts) A

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!