Plot the pressure for oxygen and nitrogen, MATLAB Programming

Non-Ideal Gas (van der Waals equation):  An equation of state for a non-ideal which is commonly used is the van der Waals equation for 1 mol of gas

 P = (R*T)/(V-b) - a/(V^2) 

P = Pressure in Atmospheres 

R = 0.0821 Atm*Liters/Mol*Kelvin

T = Temperature in Kelvin 

V= Volume (in Liters) 

The a and b values are 

Ideal Gas: a = 0, b = 0 (so it reduces to ideal gas equation)

Nitrogen: a = 16.4349 b = 0.0386 

Oxygen: a = 16.5896 b = 0.0318 

1.  For T=300 K and V=10L, calculate the pressure for nitrogen and oxygen and compare the results with ideal gas 

2.  Plot the pressure for oxygen & nitrogen for a range of volumes from 0.1L to 10L (in steps of 0.05L) and compare to ideal gas 

3.  Plot the ratio of the pressure of nitrogen to oxygen and note what happens as the gas is compressed to about 1 L. At this volume, the partial pressure of nitrogen would be much larger than that of oxygen. This is why a scuba diver must be careful when they dive too deep. (With some further study, we could qualitatively reproduce the dive tables). 

 

Posted Date: 3/25/2013 1:57:55 AM | Location : United States







Related Discussions:- Plot the pressure for oxygen and nitrogen, Assignment Help, Ask Question on Plot the pressure for oxygen and nitrogen, Get Answer, Expert's Help, Plot the pressure for oxygen and nitrogen Discussions

Write discussion on Plot the pressure for oxygen and nitrogen
Your posts are moderated
Related Questions
The circuit diagram of an active filter is shown below. (a) Determine an expression for the transfer function of the filter. (b) Hence find an expression for the frequency res

Use the MATLAB randn function to generate 1000 points for x. Generate the output of the unknown system with the ?lter function and b=[1232 1] and a=[1]. Normalise the ?lter output


how to wriet program for batch reactor

The pressure radiated by a column of in-phase monopole sources may be expressed as: Create a model (spreadsheet / MATLAB etc) for a 6 element column, where d=0.2m . Figure

The purpose of this lab is to introduce students to the basic concept of overtones. In order to generate two tones at the same time, you need to generate two waveforms and add them

Your Task: Write an M-function that computes simple returns as formula (1). Use this function to calculate the daily returns for each index. Using MATLAB build-in functions estimat

how to implement 3 out of 4 visual cryptography in MATLAB?

please show me how this is coded in MATLAB

Creating Matrix Variables: Creating a matrix variable is actually just a generalization of creating a row and column vector variables. That is, the values within the row are s