Question: Problem 2 . ( Wind Chill ) Given the temperature t ( in Fahrenheit ) and the wind speed v ( in miles per hour

Problem 2.(Wind Chill) Given the temperature t(in Fahrenheit) and the wind speed v(in miles per hour), the National
Weather Service defines the effective temperature (the wind chill) to be
w=35.74+0.6215t+(0.4275t-35.75)v0.16
Write a program called wind_chill.py that accepts t(float) and v(float) as command-line arguments, and writes the wind chill
w to standard output. Your program should report the message "Value of t must be 50F" if t>50, and the message
"Value of v must be >3mph" if v3.
3_-/workspace/controlflom-programs
$ python3 wind_chill.py 5115
Value of t must be =50 F
$ python3 wind_chill. py 323
Value of v must be >3 mph
$ python3 wind_chill.py 3215
21.588988890532022
Problem 2 . ( Wind Chill ) Given the temperature

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!