% Compute wind chill, plot graphs, two different ways t = input('Temperature='); if t <= 30 v = input('Wind Speed='); wc1 = 35.74 + (0.6215*t) - (35.75*(v^(0.16))) + 0.4275*t*(v^(0.16)); wc2 = 0.0817*(3.71*(v^(0.5)) + 5.81 - 0.25*v)*(t - 91.4) + 91.4; disp(['Wind Chill: new=' int2str(round(10*wc1)/10) ' old=',num2str(round(10*wc2)/10)]); end