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 /779/CH10/EX10.5/10_5.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 '779/CH10/EX10.5/10_5.sce')
-rwxr-xr-x | 779/CH10/EX10.5/10_5.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/779/CH10/EX10.5/10_5.sce b/779/CH10/EX10.5/10_5.sce new file mode 100755 index 000000000..8b1709317 --- /dev/null +++ b/779/CH10/EX10.5/10_5.sce @@ -0,0 +1,24 @@ +// Part (a)
+P1 = 10; P2 = 1;
+T1 = 273+200; n = 1.15; R = 0.287;
+v2 = ((R*T1)/(P1*100))*((P1/P2)^(1/1.15));
+v1 = ((R*T1)/(P1*100));
+T2 = T1*(P2/P1)*(v2/v1);
+cv = 0.716;
+Q = (cv+(R/(1-n)))*(T2-T1);
+disp("If the fluid is in the air")
+disp("m3/kg",v2,"The specific volume is")
+disp("K",T2,"The final temperature is ")
+disp("kJ",Q,"Heat transferred per kg is")
+// Part (b)
+v1 = 0.20596; u1 = 2621.9;
+v2 = v1*(P1/P2)^(1/n);
+x2 = (v2-0.001043)/(1.694-0.001043);
+t2 = 99.62+273;
+u2 = 417.33+(x2*2088.7);
+W = ((P1*100*v1)-(P2*100*v2))/(n-1);
+Q = u2-u1+W;
+disp("If the fluid is in the steam")
+disp("m3/kg",v2,"The specific volume is")
+disp("K",t2,"The final temperature is ")
+disp("kJ",Q,"Heat transferred per kg is")
\ No newline at end of file |