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
Expand a matrix: To expand a matrix, an individual element could not be added as that would mean there would no longer be the similar number of values in every row. Though,

what are the difference between a.linear permutation b.circular permutation


Mathematical operation: For numerical operands, the use of such operators is clear-cut. For illustration, 3 >> 3 ans = 1 >> 9 ans = 0 Though, in the Wo

Order of precedence: As with the numerical operators, it is significant to know that the operator precedence rules. Table below shows the rules for the operators which  have b

Illustrations of calling the function: Here are illustrations of calling the function: >> cylcost(32,73,4.50) ans = 661.5000 >> fprintf('The cost would be $%.2f\n'

Rules for variable names: In addition, the variable names must always be mnemonic that means they should make some sense. For illustration, if the variable is storing the radi

Show (turn in) similar output images as in part 2 for each of your new images (there is only 1 connected component in this case). Write three functions which compute the moments, c

I have a file to be read in matlab which carries different columns in it. Each column has around 200000 readings in set of 2000. I want a code in a loop which gives stores each col

There are many approaches to numerically estimating the derivative of the function.  The relationship:   is called a forward difference, since the estimate of the derivativ