These are the equations:
Old Wind Chill = 0.0817(3.71V0.5 + 5.81 – 0.25V)(T – 91.4) + 91.4
New Wind Chill = 35.74 + 0.6215T – 35.75(V0.16) + 0.4275T(V0.16)
where: T = temperature (°F), V = wind speed (mph). The new wind chill equation is valid only for wind speeds >= 4 mph.
fbtime = (-24.5 (0.667 speed (8.0/5.0) + 4.8) + 2111.0) (-4.8 – (temp -32.0) (5/9))-1.668
where:
fbtime = Frostbite time (minutes)
speed = Wind speed (mph), must be > 16 mph and <= 50 mph use error traping
temp = Air temperature (°F), must be less than 20 °F. use error traping
Write a program that will calculate the old wind chill, the new wind chill, and the time it takes to get frostbite. Check your times with the chart shown above. Include “if” structures to trap errors that fall outside of the valid range of values for wind speed and air temperature.
2007-02-06
10:51:43
·
3 answers
·
asked by
john f
1
in
Computers & Internet
➔ Programming & Design
ignore ( use error traping)
2007-02-06
10:53:06 ·
update #1
Hey D you can shove your education up you as.s. That was a homework, and it doesn't take an hour. It takes ablout 20 mins max.
2007-02-06
11:04:22 ·
update #2