{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

hw4 - Programming Assignment 4 ENGR 3 Summer Session B 2006...

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

View Full Document Right Arrow Icon
Programming Assignment 4 ENGR 3, Summer Session B 2006 Due: Tuesday, September 5 11:59pm Instructions: Complete the following parts. Turn these programs in using the command: “turnin [email protected] idealgas.m container.m tank.m aero.m” Part A (10 points)  Name your script file  idealgas.m Engineers often need to estimate the pressure exerted by a gas in a container.  The  ideal gas law  provides one way of making the estimate.  The law is P = nRT V Equation 1. The ideal gas law More accurate estimates can be made with the  van der Waals  equation: P = nRT V nb an 2 V 2 Equation 2. Van der Waals equation where the term  nb  is a correction for the volume of the molecules, and the term  an 2 / V 2 is a  correction for molecular attractions.  The values of  and  depend on the type of gas.  The gas constant  is  R,  the  absolute  temperature is  T,  the gas volume is  V
Background image of page 1

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

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}