Given input R, degrees Rankine, convert into degrees Celsius.
Solution Stats
Problem Comments
4 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers151
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2823 Solvers
-
Set the array elements whose value is 13 to 0
1461 Solvers
-
Replace multiples of 5 with NaN
472 Solvers
-
Find the distance traveled by a car given velocity and time.
130 Solvers
-
Find the Oldest Person in a Room
21634 Solvers
More from this Author7
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
While the problem description is correct, the title seems misleading to me ("Kelvin" instead of "Celsius")
Good suggestion. I made the change.
The test suite, as it currently is, is asking for the temperature in Celsius. The first problem is Ra = 0; C_correct = -273.15; That's the temperature in C, not K. Ra=0 translates to K=0, as both of those temperatures are absolute zero. (Bonus Pedantic note - It's just Kelvin, not degrees Kelvin.)
Not sure what change was made in 2016, but James is completely correct: the Test Suite is requiring input in degrees Rankine, and output in degrees Celsius. So the title and description should indicate "Rankine to Celsius".