Calculate wind chill temperature in Fahrenheit. Python Fiddle Python Cloud IDE. The new (OFCM) formula assumes the windchill temperature is equal to the air temperature if the wind speed is 3 mph or less. Both formulas assume windchill temperature is equal to the air temperature if the air temperature is 50°F or more. Your program must be written using good programming style.
Write a Python program to display the wind chill temperatureindex. First perform the appropriate calculations and display thecorresponding wind chill temperature index: 10.0 degrees, and 15MPH 0.0 degrees and 25 MPH -10.00 degrees and 35 MPH. Second, aftercalculation, prompt the user to enter an air temperaturemeasurement (Tair) and accept a floating point value representingthat measurement. Prompt the user to enter a wind speed (Vwind) andaccept a floating point value. Please subdivided into twoparts.(all temperature in Fahrenheit scale) Expert Answer.
CS 107 - Windchill Calculations
Machine Problem #1 - Due: 2/3/2003 at 2:00 pm
Sample Windchill Results
On November 1, 2001 the National Weather Service replaced the oldWindchill formula based on the 1945 Siple and Passel Index with anew formula based on research done by the Office of the Federal Coordinator for Meteorological Services and Supporing Research (OFCM).
The Siple and Passel Formula is:To use this in the United States, we will need to convert betweenCelcius and Fahrenheit and from miles per hour to kilometers perhour. These formulas are:The new OFCM formula is:You are to write a program that will prompt the user for two numbers
Wind Speed in Miles per Hour
Air Temperature in degrees Fahrenheit
Your program is to calculate and output both the old and the newwindchill values and the difference between the two windchill values.
A few items to note that your program must account for to earn fullmarks:
Wind speed must be from 0 to 100 mph inclusive. If a wind speedis given that is outside of this range, output a message stating thatthe windspeed must be in the given range.
The old (Siple and Passel) formula assumes the windchill temperatureis equal to the air temperature if the wind speed is 4 mph or less.
The new (OFCM) formula assumes the windchill temperatureis equal to the air temperature if the wind speed is 3 mph or less.
Both formulas assume windchill temperature is equal to the airtemperature if the air temperature is 50°F or more.
Your program must be written using good programming style. This includes(but is not limitted to) such items as:
A header block comment that explains who wrote the program, why andwhat the program does.
In-line comments that explain specific sections of code
Blank lines
Indentation
Meaningful identifer names
Readable and understandable output
Your program will be submitted electronically on the icarus systemusing the turnin command. The project name for this will bemp1. Your program will graded based on how it executes on theicarus system using the g++ compiler. Getting a program to work onanother system or using another compiler does NOT mean it will workon the icarus system using the g++ compiler. Programs that do notwork properly on the icarus system using the g++ compiler will losepoints. Also programs that are not submitted via the turnin commandwill also lose points. Emailing a program is not an acceptable formof electronic submission.