Algorithm for HW01 - Timothy Lin BEE 1510 Homework...

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

View Full Document Right Arrow Icon
Timothy Lin BEE 1510 Homework Assignment 1 Algorithm due: 9/18 1. Enter Comments BEE 1510 Introduction to Computer Programming Homework Assignment 1 Timothy Lin 2. Inputs i. Define Variables pws = saturation partial pressure (pascals) pw = actual partial pressure (kPa) t = temperature of air (Celcius) 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 ii. Define Parameters y = 0.066 in kPa/K iii. Define Constants conversion factor from pascals (Pa) to kilopascals (kPa): p_kPa = 1000 conversion factor from % to decimals: p_d = 100 iv. Ask user for air temperature (t) v. Ask user for relative humidity (rh) 3. Calculations i. Calculate saturation vapor pressure using sat_vap_press function in Pa + Convert
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

Algorithm for HW01 - Timothy Lin BEE 1510 Homework...

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