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

Elements Of Electromagnetics
7th Edition
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Sadiku, Matthew N. O.
ChapterMA: Math Assessment
Section: Chapter Questions
Problem 1.1MA
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.
Recommended textbooks for you
Elements Of Electromagnetics
Elements Of Electromagnetics
Mechanical Engineering
ISBN:
9780190698614
Author:
Sadiku, Matthew N. O.
Publisher:
Oxford University Press
Mechanics of Materials (10th Edition)
Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:
9780134319650
Author:
Russell C. Hibbeler
Publisher:
PEARSON
Thermodynamics: An Engineering Approach
Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:
9781259822674
Author:
Yunus A. Cengel Dr., Michael A. Boles
Publisher:
McGraw-Hill Education
Control Systems Engineering
Control Systems Engineering
Mechanical Engineering
ISBN:
9781118170519
Author:
Norman S. Nise
Publisher:
WILEY
Mechanics of Materials (MindTap Course List)
Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:
9781337093347
Author:
Barry J. Goodno, James M. Gere
Publisher:
Cengage Learning
Engineering Mechanics: Statics
Engineering Mechanics: Statics
Mechanical Engineering
ISBN:
9781118807330
Author:
James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:
WILEY