Answered step by step
Verified Expert Solution
Question
1 Approved Answer
USE MATLAP: In real life we are never given a differential equation to solve. We must find the differential equation based on what we know
USE MATLAP:
In real life we are never given a differential equation to solve. We must find the differential equation based
on what we know about the process and physical laws. Let's look at the tank problem that we did in Week
but this time with a slight twist.
Two tanks with capacities of liters initially contain grams of salt and liter of water. Water containing
of salt enters the first tank at a rate of hour, and the wellmixed solution flows out of the first tank
into the second tank at a rate equivalent to the volume of the first ie None of the brine flows
out of the second tank.
To model the process follow the steps in the lecture for each tank separately. Notice that the rate for the
second tank will depend on the first.
Model the problem for the volume in liters as an IVPs and by using odefor MATLAB or
solveivp for Python solve the IVP ODE IC for the volume of water in the tanks. Solve from
time to with Save the volume of the first tank at each time as a column
vector named A and the volume of the second tank at each time as a column vector named
A
At what time to the nearest integer does the water start overflowing hint: use the round function
Save this integer value as A And which tank does it overflow from or Save this integer value
as A
Model the problem for the amount of salt in grams as an IVPs and by using odefor MATLAB
or solveivp for Python solve the IVP for the amount of salt in the tanks. Solve from
time to with Save the amount of salt of the first tank at each time as a
column vector named A and the amount of salt of the second tank at each time as a column
vector named A
What is the salt concentration when tank that overflowed in part b is completely full of brine? Save
this salt concentration remember it's amountvolume as A
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started