PRELIM2Script

# PRELIM2Script - BEE 1510 Introduction to Computer...

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

% 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) % L2Pr4Conc = array of the values of the molar concentration of L2Pr4 over

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.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern