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

how to code this function

convolve the following sequences using tabulation method and verify the same using matrix mmethhod

how to display any words to the edittor

Simple Related Plot Functions: The other functions which are useful in customizing plots are the figure, clf, hold, leg-end, and grid. The short description of such functions

can you please help me with matlab coding for CMP? I am new to matlab and hence need help

Write the iterative Newton root nding function from lecture to be recursive. The function declaration should be root = newtonRec(f,df,x,tol). The inputs to the function are: ?

write a function program to compute a standard deviation of a number

#question how to solve radicals exponents..

This problem is intended to demonstrate some problems that can arise from the finite precision of numerical calculations performed with computers.  We will do this by approximating