Solutions | |
|
|
% Solution of 8hw2 disp(' We will create a Fahrenheit to Kelvin conversion table'); disp(' We will start at 32 oF and end at 212 oF'); step = input(' Enter the desired increment in degrees Fahrenheit '); faren = 32:step:212; kelvin = 5 * ( faren -32) /9 + 273.15; a = [ faren; kelvin]; fprintf('\n\n\n\n My table of conversion \n\n'); fprintf(' Fahrenheit Kelvin \n'); fprintf('\n %5.0f %6.2f ', a); |
|
|
|
Jacob
Y. Kazakia © 2001 All rights reserved
|