Matlab question: Please do parts b and c in Matlab, thanks.
4. Temperature conversion; adapted from LM 2.2-5.
(a) Write down formulas which convert a temperature in Fahrenheit to the corresponding temperature in degrees Celsius, kelvins, and degree Rankine. Be sure to cite any resources used.
(b) Write a script which asks for a temperature in Fahrenheit and then outputs the temperature in degrees Celsius, kelvins, and degree Rankine. Print out the content of your script m-file using the type function.
(c) Modify the script written in part (b) into a function. (Instead of writing an external function m-file, write the function at the end of your live script.) Then run your function with temperatures 32°F, 134°F, and 212°F.