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 /632/CH2/EX2.9/example2_9.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 '632/CH2/EX2.9/example2_9.sce')
-rwxr-xr-x | 632/CH2/EX2.9/example2_9.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/632/CH2/EX2.9/example2_9.sce b/632/CH2/EX2.9/example2_9.sce new file mode 100755 index 000000000..e13bdc8a1 --- /dev/null +++ b/632/CH2/EX2.9/example2_9.sce @@ -0,0 +1,19 @@ +//clc()
+//Cp = 7.13 + 0.577 * (10^-3) * t + 0.0248 * (10^-6) * t^2
+//Cp - Btu/lb-mol F, t - F
+//Cp1 - kJ/kmol K , t1 - K
+a = 7.13;
+b = 0.577 * 10^-3;
+c = 0.0248 * 10^-6;
+//t = 1.8 * t1 - 459.67
+Cp = 4.1868;//Cp1 (Btu/lb-mol F = 4.1868 * (kJ/kmol K) )
+//substituting the above, we get,
+//Cp1 = 28.763 + 4.763 * (10^-3) * t1 + 0.3366 * (10^-6) * t^2
+a1 = 28.763;
+b1 = 4.763 * (10^-3);
+c1 = 0.3366 * (10^-6);
+disp(a1,"a1 = ")
+disp(b1,"b1 = ")
+disp(c1,"c1 = ")
+// this are the co efficents for the following equation;
+// Cp1 = a1 + b1 * t1 + c1 * (t1)^2
|