blob: 1772f7bcf2f5af12a3f93e0481a38dbab61358a0 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Exa 3.1
clc;
clear;
close;
// Given data
t_c = 303-273;// in °C
t_f = 9/5* t_c+32;// in °F
disp(t_f,"When the temperature is 303 K then the thermometer reading in °F is : ");
T_R = 460 + t_f;// °R
disp(T_R,"The absolute value of the temperature in Rankine scale in °R is :");
|