TimLinHW01

# TimLinHW01 - BEE 1510 Introduction to Computer Programming...

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

% 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 ');

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.

### Page1 / 2

TimLinHW01 - BEE 1510 Introduction to Computer Programming...

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

View Full Document
Ask a homework question - tutors are online