The Heat Index HI, calculated from the air temperature and relative humidity, is the apparent temperature felt

Question:

The Heat Index HI, calculated from the air temperature and relative humidity, is the apparent temperature felt by the body. An equation used by the National Weather Service for calculating the HI is given by:
HI= -42.379 + 2.04901523T + 10.14333127R - 0.22475541R - 6.83783 × 10-3T2 -5.481717 × 10-2R2 + 1.22874 × 10-3T2R + 8.5282 × 10-4TR2 - 1.99 × 10-6T2R2
where T is the temperature in degrees F and R is the relative humidity in integer percentage. Write a MATLAB program in a script file that calculates HI. For input the program asks the user to enter values for T and R. For output the program displays the message: "The Heat Index temperature is: XX," where XX is the value of the heat index rounded to the nearest integer. Execute the program entering T = 90°F and R = 90 %.
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: