The higher the wind speed, the quicker a body cools. To quantifythis wind speed chilling effect, both the U.S. and Canadian weatherservices have determined wind chill temperatures for temperaturesbelow 50°F and wind speeds above 4 mph in the United States andtemperatures below 10°C and wind speeds above 4.8 km/hr in Canada.An approximation of the official wind chill temperature, for bothmetric and English units, is given by this formula:
WCI = K1 + 0.6125 Ta -K2Ws0.16 +K3TaWs0.16
The following chart lists the correct dimensions and values forboth systems of units:
Symbol | Meaning | Metric Units (Canada) | U.S. Customary Units |
WCI | Wind chill index | °C | °F |
Ta | Measured temperature | °C | °F |
Ws | Wind speed | km/hr | mi/hr |
K1 | Conversion factor | 13.12 | 35.74 |
K2 | Conversion factor | 11.37 | 35.75 |
K3 | Conversion factor | 0.3965 | 0.4275 |
Using the wind chill formula, write, compile, and run a C++program that displays a table of wind chill indexes fortemperatures from 2°C to 10°C, in 4-degree increments, and for eachtemperature, wind speeds from 5 km/hr to 11 km/hr in 2-km/hrincrements.