The ideal gas equation states that P = nT, where P is the pressure, V is thevolume, T is

Chapter 3, Problem 28

(choose chapter or problem)

The ideal gas equation states that P = nT, where P is the pressure, V is thevolume, T is the temperature, R = 0.08206 (L atm)/(mol K) is the gas constant,and n is the number of moles. Real gases, especially at high pressure,deviate from this behavior. Their response can be modeled with the van derWaals equationp =nRT _n2aV-nb J12where a and b are material constants. Consider 1 mole ( n = 1 ) of nitrogengas at T = 300K. (For nitrogen gas a = 1.39 (L 2 atm)/mol2, and b = 0.0391L/mol.) Create a vector with values of Vs for 0.1 V 1 L, using incrementsof 0.02 L. Using this vector calculate P twice for each value of V, once usingthe ideal gas equation and once with the van der Waals equation. Using thep -P two sets of values for P, calculate the percent of error ( ide waals 100) forwaalseach value of V. Finally, by using MATLAB's built-in function max, determinethe maximum error and the corresponding volume.

Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.

Becoming a subscriber
Or look for another answer

×

Login

Login or Sign up for access to all of our study tools and educational content!

Forgot password?
Register Now

×

Register

Sign up for access to all content on our site!

Or login if you already have an account

×

Reset password

If you have an active account we’ll send you an e-mail for password recovery

Or login if you have your password back