Question: Problem 4 : Function with More than One Variable Consider a model for the wind chill temperature as a function of the actual air temperature

Problem 4: Function with More than One Variable
Consider a model for the wind chill temperature as a function of the actual air temperature and the wind speed. This model is curve fitted from several sets of data points (curve fitting is a subject to be studied in ME2500).
a) Using a function handle, define a MATLAB function that calculates the wind chill temperature according to the following formula:
Twc=35.74+0.6215Ta-35.75V0.16+0.4275TaV0.16
where, the actual air temperature Ta and wind speed V are inputs to the function, and the wind chill temperature Twc is the output. For this equation, the units for temperature and wind speed are F and mph, respectively.
b) Use your function to calculate the wind chill temperature for Ta=25F and V=15mph.
c) Write a script file that does the following operations. Using the MATLAB built-in function plot function, plot Twc(in red) for Ta=45F and V=0 to 50mph. On the same graph, plot Twc(in blue) for Ta=15F and V=0 to 50mph. Be sure to label your graph properly, including the legends, either by command lines or using the plot toolbox.
d) Repeat part (c) by using the fplot function.
 Problem 4: Function with More than One Variable Consider a model

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!