Question: 3. Write a function that will convert the temperature from Fahrenheit into both Celsius and Kelvin. The function should have one input argument and two


3. Write a function that will convert the temperature from Fahrenheit into both Celsius and Kelvin. The function should have one input argument and two output arguments. Have the script present the results for the following test cases: a. 212 F b. 32F C. -40F These are all special values for which you should know the corresponding temperature in C. (Note, you may use: C = 9-32 and K = F+459.67) 1.8 1.8 Function specifications: Input argument: temperature in Fahrenheit, a scalar. Output arguments: temperature in Celsius, temperature in Kelvin - both scalars. (Must be in this order) disp('*****problem 3*****'); Apply the temperature conversion function to the 3 test values given in %the assignment If using the checker, store the results in these variables: celsiusl = 0; kelvinl = 0; celsius2 = 0; kelvin2 = 0; celsius3 = 0; kelvin3 = 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
