1. 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.049015237 + 10.14333127R - 0.22475541R – 6.83783 * 10-37T² - 5.481717 * 10-²R² + 1.22874 * 10-3T² + 8.5282 + 10-4TR² – 1.99 * 10-6T?R? where Tis 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 %.

Principles of Heat Transfer (Activate Learning with these NEW titles from Engineering!)
8th Edition
ISBN:9781305387102
Author:Kreith, Frank; Manglik, Raj M.
Publisher:Kreith, Frank; Manglik, Raj M.
Chapter1: Basic Modes Of Heat Transfer
Section: Chapter Questions
Problem 1.23P: Using the information in Problem 1.22, estimate the ambient air temperature that could cause...
icon
Related questions
Question
i need the answer quickly
Homework: Solve the following problems by first writing a program in a script file and then
executing the program.
1. 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.049015237 + 10.14333127R – 0.22475541R – 6.83783 * 10-3T2
- 5.481717 * 10-2R² + 1.22874 * 10-3T2 + 8.5282 * 10-4TR2 – 1.99
* 10-6T2R2
where Tis the temperature in degrees Fand 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 %.
2. The monthly saving P that has to be deposit in a saving account that pays an annual interest rate
of r in order to save a total amount of F in N years can be calculated by the formula:
F("/12)
P = -
(1+"/12)*
12N
- 1
Calculate the monthly saving that has to be deposit in order to save $100,000 in 5, 6, 7, 8, 9, and
10 years if the annual interest rate
4.35%. Display the results in a two-column table where the
first column is the number of years and the second column is the monthly deposit.
3. The growth of some bacteria populations can be described by
N = N,ekt
where N is the number of individuals at time t, No is the number at time t = 0, and k is a constant.
Assuming the number of bacteria doubles every 40 minutes, determine the number of bacteria
every two hours for 24 hours starting from an initial single bacterium.
Transcribed Image Text:Homework: Solve the following problems by first writing a program in a script file and then executing the program. 1. 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.049015237 + 10.14333127R – 0.22475541R – 6.83783 * 10-3T2 - 5.481717 * 10-2R² + 1.22874 * 10-3T2 + 8.5282 * 10-4TR2 – 1.99 * 10-6T2R2 where Tis the temperature in degrees Fand 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 %. 2. The monthly saving P that has to be deposit in a saving account that pays an annual interest rate of r in order to save a total amount of F in N years can be calculated by the formula: F("/12) P = - (1+"/12)* 12N - 1 Calculate the monthly saving that has to be deposit in order to save $100,000 in 5, 6, 7, 8, 9, and 10 years if the annual interest rate 4.35%. Display the results in a two-column table where the first column is the number of years and the second column is the monthly deposit. 3. The growth of some bacteria populations can be described by N = N,ekt where N is the number of individuals at time t, No is the number at time t = 0, and k is a constant. Assuming the number of bacteria doubles every 40 minutes, determine the number of bacteria every two hours for 24 hours starting from an initial single bacterium.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Dimensional Analysis
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, mechanical-engineering and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Principles of Heat Transfer (Activate Learning wi…
Principles of Heat Transfer (Activate Learning wi…
Mechanical Engineering
ISBN:
9781305387102
Author:
Kreith, Frank; Manglik, Raj M.
Publisher:
Cengage Learning