Linear Algebra, Data Science, Applied Machine Learning.
Here, we can let the two variables represent the air originally in James’ tank and Damien’s tank, respectively. The solution, by code, is # x1: Air pressure in James' tank # x2: Air pressure in Damien's tank # (Eqn 1) y = 0.95x # (Eqn 2) (y-110)*3/4 = (1-0.7)x coefficients = np.array([ [19,-20],