A mjxture of benzene and toluene with p percent benzene and (l - p) percent toluene at 10°C is fed continuously to a vessel in which the mixture is healed to 50°c. The liquid product is 40 mole percent benzene and the vapor product is 68.4 mole percent benzene. Using conservation of the overall mass, we obtain the equation
where V is the vapor mass and L is the liquid mass.
Using conservation of benzene mass, we obtain the equation 0.684 V + 0.4 L = 0.01 p
Write a user-defined function that uses the left-division method to solve for V and L with p a the function's input argument. Test your function for the case where p = 50 percent