I need help with getting my java program working properly. I want to initialize T and H so the program knows that is what it stands for within the formula when calculating the heat index, and make sure that the temperature >= 80° and the relative humidity is 40% or more only using an if statement. Here is the formula within the program: heat index = (-42.379) + 2.04901523*T + 10.14333127*H + (-0.22475541)*T*H + (-.00683783)*T2 + (-.05481717)*H2 + .00122874*T2*H + .00085282*T*H2 + (-.00000199)*T2*H2 Attached is a screenshot of my program.
I need help with getting my java program working properly. I want to initialize T and H so the program knows that is what it stands for within the formula when calculating the heat index, and make sure that the temperature >= 80° and the relative humidity is 40% or more only using an if statement. Here is the formula within the program: heat index = (-42.379) + 2.04901523*T + 10.14333127*H + (-0.22475541)*T*H + (-.00683783)*T2 + (-.05481717)*H2 + .00122874*T2*H + .00085282*T*H2 + (-.00000199)*T2*H2 Attached is a screenshot of my program.
Chapter8: Advanced Method Concepts
Section: Chapter Questions
Problem 8RQ
Related questions
Question
100%
Hello,
I need help with getting my java
Here is the formula within the program:
heat index = (-42.379) + 2.04901523*T + 10.14333127*H + (-0.22475541)*T*H + (-.00683783)*T2 + (-.05481717)*H2 + .00122874*T2*H + .00085282*T*H2 + (-.00000199)*T2*H2
Attached is a screenshot of my program.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,