Plot the pressure for oxygen and nitrogen, MATLAB Programming

Assignment Help:

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). 

 


Related Discussions:- Plot the pressure for oxygen and nitrogen

Function definitions, Function definitions: There are various ways to ...

Function definitions: There are various ways to organize the scripts and functions, but for now every function which we write will be stored in a separate M-file, that is why

Accounts, need help in my accounts help

need help in my accounts help

Implement a matlab function to calculate value, Implement a MatLab function...

Implement a MatLab function to calculate y.  The function should take two input arguments 1) A vector of parameters In the above example this would be of length 3, the first

Math+Matlab, Read the document and quote me ... https://www.dropbox.com/s...

Read the document and quote me ... https://www.dropbox.com/s/pvq4f45fpwajibi/Course_wk%20_2013_.pdf

display in gui, how to display any words to the editto

how to display any words to the edittor

Generate a matlab error with a descriptive error message, Write a function ...

Write a function called threshold2 (in a file called 'threshold2.m'). The function takes an arbitrary number of input variables. The first input variable, t, is required and is the

Compare performance between matlab and excel, This assignment is designed t...

This assignment is designed to compare performance between Matlab and Excel for performing nonlinear regression analysis of a set of data. There are two data sets in the accompa

ANFIS, How to design a FIR filter using ANFIS in MATLAB

How to design a FIR filter using ANFIS in MATLAB

Matlab coding, matlab code for path and adjancy martix between pixels

matlab code for path and adjancy martix between pixels

Print the day of the week, how to write a program to determine the day of ...

how to write a program to determine the day of the week. using GUI.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd