TimLinHW01 - % 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 % Homework Exercise 1 % Timothy Lin % % Record of revisions: % original code: September 11, 2008 % last modified: September 15, 2008 % % Variable Dictionary % pws = saturation partial pressure (pascals) % pw = actual partial pressure (kPa) % t = temperature of air (Celsius) % rh = relative humidity % et = equivalent temperature of air (Celcius) % F1 = thermal sensation value for female, 1 hour % F2 = thermal sensation value for female, 2 hours % F3 = thermal sensation value for female, 3 hours % M1 = thermal sensation value for male, 1 hour % M2 = thermal sensation value for male, 2 hours % M3 = thermal sensation value for male, 3 hours % % Parameters y = 0.066; % in kPa/K % % Constants % conversion factor from pascals (Pa) to kilopascals (kPa) Pa_kPa = 1000; % conversion factor from % to decimals p_d = 100; p clc % clear out command window for aesthetic working purposes % % prompt user to input air temperature in degrees Celsius t = input ('Enter air temperature in degrees Celsius ');
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.

Page1 / 2

TimLinHW01 - % 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