Home / Expert Answers / Computer Science / need-to-write-a-code-in-python-that-will-solve-the-equations-created-for-the-mass-balance-in-each-ta-pa379

(Solved): need to write a code in python that will solve the equations created for the mass balance in each ta ...



need to write a code in python that will solve the equations created for the mass balance in each tank. need to use "np.linalg.solve" to solve for the system os equations that were generated
2.) Develop three mass balance equations for each tank in Figure 1 . Solve to determine the concentrations in each tank. Use
2.) Develop three mass balance equations for each tank in Figure 1 . Solve to determine the concentrations in each tank. Use 'np. linalg.solve' to solve the sysiem of equations you generate. Assume the tanks are at steady-state (i.e. concentration within each tank is not changing with time) and well-mixed (i.e. the concentration flowing out of the tank is equal to the concentration within the tank). Mass can be tracked by multiplying flow rate, \( Q(L / s) \) by concentration, c \( (\mathrm{mg} / \mathrm{L}) \). Note: Volume balances must hold in addition to mass balances. In other words, the \( Q \) entering the tank must equal the \( Q \) leaving the tank. You can use this principle to find any values for \( Q \) that are missing in the figure. Figure 1.


We have an Answer from Expert

View Expert Answer

Expert Answer


1.5A Conservation of Mass One of the basic laws of physical science is the law of conservation of mass. This law, stated simply, says that mass cannot
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe