Question: Simple function My Solutions > Two commonly used scales for measuring temperature are Fahrenheit and Celsius. Create a function called tempF 2 C that will

Simple function
My Solutions >
Two commonly used scales for measuring temperature are Fahrenheit and Celsius. Create a function called tempF2C that will accept as input a single temperature in degrees Fahrenheit and return the equivalent temperature in degrees Celsius.
Recall that Fahrenheit and Celsius are related by the following equation:
TC=TF-321.8
Function 0
Save
C Reset
MATLAB Documentation
function tempC = tempF2C (tempF)
% Code your answer below
end
Code to call your function?
C Reset
% Use this block to test your function
tF=212;
tC=tempF2C(tF)G
 Simple function My Solutions > Two commonly used scales for measuring

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!