Difference between revisions of "Wind Chill"
From CompSciWiki
Line 1: | Line 1: | ||
{{Template:1010ExtraLabs | {{Template:1010ExtraLabs | ||
|Chapter_TOC=[[Extra Labs]] | |Chapter_TOC=[[Extra Labs]] | ||
− | |Introduction= | + | |Introduction=In Winnipeg , it is noted that wind can make the air temperature even much colder. Write a program that will uses "input" to read in an air temperature and a wind speed. Then use the formula below to calculate and output the windchill. |
+ | :<math>T_{wc}=13.12 + 0.6215 T_a-11.37 V^{0.16} + 0.3965 T_a V^{0.16}\,\!</math> | ||
+ | |||
+ | :<small>where <math>T_{wc}\,\!</math> is the wind chill index based on the Celsius scale, <math>T_a\,\!</math> is the air temperature in °C, and <math>V\,\!</math> is the air speed in [[kilometres per hour|km/h]]. | ||
+ | :::<small>Equation taken from Wikipedia which cites [[Environment Canada|http://www.msc.ec.gc.ca/education/windchill/science_equations_e.cfm]] | ||
+ | </small></small> | ||
|Body= | |Body= | ||
Line 8: | Line 13: | ||
{{CodeBlock | {{CodeBlock | ||
|Code=Bla7; | |Code=Bla7; | ||
− | |||
}} | }} |
Revision as of 21:27, 3 April 2012
{{Template:1010ExtraLabs |Chapter_TOC=Extra Labs |Introduction=In Winnipeg , it is noted that wind can make the air temperature even much colder. Write a program that will uses "input" to read in an air temperature and a wind speed. Then use the formula below to calculate and output the windchill.
- <math>T_{wc}=13.12 + 0.6215 T_a-11.37 V^{0.16} + 0.3965 T_a V^{0.16}\,\!</math>
- where <math>T_{wc}\,\!</math> is the wind chill index based on the Celsius scale, <math>T_a\,\!</math> is the air temperature in °C, and <math>V\,\!</math> is the air speed in km/h.
- Equation taken from Wikipedia which cites http://www.msc.ec.gc.ca/education/windchill/science_equations_e.cfm
|Body=
Step 1:
Bla7;