Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is python coding. How cold is it outside? The temperature alone is not enough to provide the answer. Other factors including wind speed, relative

image text in transcribedimage text in transcribedThis is python coding.

How cold is it outside? The temperature alone is not enough to provide the answer. Other factors including wind speed, relative humidity, and sunshine play important roles in determining coldness outside. In 2001, the National Weather Service (NWS) implemented the new wind-chill temperature to measure the coldness using temperature and wind speed. The formula is given as follows: twc=35.74+0.6215ta35.75v0.16+0.4275tav0.16 where ta is the outside temperature measured in degrees Fahrenheit and v is the speed measured in miles per hour. twc is the wind-chill temperature. The formula cannot be used for wind speeds below 2mph or for temperatures below or above 41F. Write a program that prompts the user to enter a temperature between 58F and 41F and a wind speed greater than or equal to 2 and displays the wind-chill temperature rounded to two decimal places. Here is a sample run: Enter the temperature in Fahrenheit between 58 and 41: 5.3 Enter the wind speed miles per hour (must be greater than or equal to 2): 6 The wind chill index is 5.57

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Using Entity Relationship Diagrams

Authors: Sikha Saha Bagui, Richard Walsh Earp

3rd Edition

103201718X, 978-1032017181

More Books

Students also viewed these Databases questions

Question

T or F 2.CDMA has greater capacity over compression

Answered: 1 week ago

Question

4. Identify the challenges facing todays organizations

Answered: 1 week ago