(Solved): 2. The van der Waals equation gives a relationship between the pressure P (in atm.), volume V (in L ...
2. The van der Waals equation gives a relationship between the pressure P (in atm.), volume V (in L ), and temperature T (in K ) for a real gas: P=V?nbnRT??V2n2a?, where n is the number of moles, R=0.08206(Latm)/( mole K) is the gas constant, and a (in L2atm/mole2 ) and b (in L/mole ) are material constants. Consider 1.5 moles of nitrogen (a=1.39L2atm/mole2,b=0.03913L/mole) at 25?C stored in a pressure vessel. Write a MATLAB implementation that applies Steffensen's method to find an approximate value of the volume of the vessel if the pressure is 13.5 atm. Any unknown value(s) will be asked from the user.