Activity 5.2.
The wind chill temperature, \(T_{wc}\text{,}\) is the air temperature felt on exposed skin due to wind. It is calculated by
\begin{equation*}
T_{wc} = 35.74 + 0.6215T - 35.75v^{0.16} + 0.4275Tv^{0.16}
\end{equation*}
where \(T\) is the temperature in degrees Fahrenheit and \(v\) is the wind speed in mi/h.
Write a MATLAB program in a script file that asks the user to enter values for \(T\) and \(v\) and then calculates the wind chill temperature and displays the message "The wind chill temperature is …".
In order to output the message to the user you can use the
disp()
command (try it out!). We’ll learn other ways to output data soon.Please paste your code into the textbox: