diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2120/CH3/EX3.2/ex3_2.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2120/CH3/EX3.2/ex3_2.sce')
-rwxr-xr-x | 2120/CH3/EX3.2/ex3_2.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/2120/CH3/EX3.2/ex3_2.sce b/2120/CH3/EX3.2/ex3_2.sce new file mode 100755 index 000000000..52a8323e9 --- /dev/null +++ b/2120/CH3/EX3.2/ex3_2.sce @@ -0,0 +1,18 @@ +// Exa 3.2
+clc;
+clear;
+close;
+// Given data
+T_K= '273.15+t_C';
+T_R= '459.67+t_F';
+// t_C= t_F or T_K-T_R= -186.52 (i)
+// T_R/T_K = 1.68 (ii)
+// From eq (i) and (ii)
+T_K= -186.52/(1-1.68);// temp. in kelvin in K
+T_R= 1.68*T_K;// in temp. in rankine in °R
+t_C= T_K-273.15;// in °C
+t_F= T_R-459.67;// in °F
+disp(T_K,"Temperature in kelvin is : ")
+disp(T_R,"Temperature in °R is ")
+disp(t_C,"Temperature in °C is ")
+disp(t_F,"Temperature in °F is ")
|