{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

PRELIM2Conc

# PRELIM2Conc - Record of revisions original code last...

This preview shows page 1. Sign up to view the full content.

function concgas = TLinConc(x,vliq)  % TLINCONC calculates the concentration of L2Pr4 that will end up in the  % gas phase at equilibrium.  The function depends on the total number of  % moles of L2Pr4 released into the laboratory, the volume of air in the  % laboratory (420 m^3), the total volume of water in the laboratory  % (depending on number of fish tanks, each 100 liters) and Henrys Constant  % (250).  % BEE 1510 Introduction to Computer Programming  % Prelim 2  % Timothy Lin  % TA: Celina  %
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: % Record of revisions: % original code: October 30, 2008 % last modified: % Variable Dictionary % x = total number of moles of L2Pr4 released into laboratory % vgas = volume of air in the laboratory % vliq = total volume of water in the laboratory (based on 100 L % fishtanks), m^3 % Hc = Henry's Constant % concgas = molar concentration of L2Pr4, mol/m^3 % Parameters vgas = 420; % m^3 Hc = 250; % Calculation concgas = x/(vgas + Hc*vliq); end % function TLinConc...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online