PRELIM2Script

PRELIM2Script - BEE 1510 Introduction to Computer...

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

View Full Document Right Arrow Icon
% BEE 1510 Introduction to Computer Programming % Prelim 2 % Timothy Lin % TA: Celina % % This script file first will load a file of mols of L2Pr4 released into % the laboraty air for each day of the last month. The user is prompted to % input the number of 100 liter tanks and that value is checked to be a % valid amount (greater than zero). The calculation, given by the function % TLinConc.m will determine the concentration of L2Pr4 in the laboratory % air at equilibrium. Finally, the minimum number of tanks required to % keep the concentration of the gas in the air below the allowable % threshold of 0.026 (mols L2Pr4)/(m3 air) over the last month. % % Record of revisions: % original code: October 30, 2008 % last modified: % % Variable Dictionary % thres = allowable threshold of concentration of L2Pr4, mol/m^3 % concair = array of values of the moles of L2Pr4 over one month, mol % tank = number of water tanks, inputted by user % vliq = total volume of water in the laboratory (based on 100 L fishtanks)
Background image of page 1

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

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

This note was uploaded on 09/28/2009 for the course BEE 1510 taught by Professor Staff during the Fall '05 term at Cornell.

Page1 / 2

PRELIM2Script - BEE 1510 Introduction to Computer...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online