hw02_pvtplot_sol

# hw02_pvtplot_sol - % % % Programmer(s) and Purdue Email...

This preview shows pages 1–2. Sign up to view the full content.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Programmer(s) and Purdue Email Address(es): % Heidi Diefes-Dux hdiefes@purdue.edu % % Section: ALL % % Assignment #: Homework 3, Problem 3 % % Academic Integrity Statement: % % I/we have not used source code obtained from % any other unauthorized source, either modified % or unmodified. Neither have I/we provided access % to my/our code to another. The project I/we am/are submitting % is my/our own original work. % % Program Description: Van der Waals modification of ideal gas law % (P+(n^2a/v^2))(V-nb) = nRT % Source: MATLAB Textbook: Moore, H. 2009. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% format compact % --- INPUTS --- % R_GAS = 0.08314472 % ideal gas contant, R (L bar / K mol) a_constant = 5.536 % a (L^2bar/mol^2) b_constant = 0.03049 % b (L/mol) n_moles = 2 % moles, n (mol) vol_const = 1 % volume, V (L) p_const = 220 % pressure, P (bar) p % --- CALCULATIONS --- % % 1. 2.15(a)

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 05/02/2011 for the course ENGR 132 taught by Professor Kutson during the Spring '11 term at Purdue University-West Lafayette.

### Page1 / 2

hw02_pvtplot_sol - % % % Programmer(s) and Purdue Email...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online