Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(15 points) The van der Waals (vdW) equation of state is used to estimate the pressures and volumes of real gases, and it is given

image text in transcribed

(15 points) The van der Waals (vdW) equation of state is used to estimate the pressures and volumes of real gases, and it is given by a RT P= V-b where V is the molar volume (L/mol), b is a correction due to the volume of the molecules and a is related to the molecular attractive interactions. The gas constant is R = 0.08206; L-atm/(mol-K), and T is the tempera- ture (in Kelvin, K). The values of a and b depend on the type of gas; some values are given in the table below. Write a matlab function using the switch structure that computes the pressure P using the vdW equation of state. The function's input arguments should be T, V and a string variable containing the name of the gas listed in the table. Test your function for chlorine (Cl2) for T = 300K and V = 20 L/mol. Gas Helium, He Hydrogen, H Oxygen, 02 Chlorine, CI a (Latm/mol) 0.0341 0.244 1.36 6.49 b (L/mol) 0.0237 0.0266 0.0318 0.0562

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Chemical Engineering Thermodynamics

Authors: J. M. Smith, Hendrick C Van Ness, Michael Abbott, Hendrick Van Ness

6th Edition

0072402962, 978-0072402964

More Books

Students also viewed these Chemical Engineering questions