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 /944/CH2 | |
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 '944/CH2')
-rwxr-xr-x | 944/CH2/EX2.1/example2_1_TACC.sce | 16 | ||||
-rwxr-xr-x | 944/CH2/EX2.2/example2_2_TACC.sce | 17 |
2 files changed, 33 insertions, 0 deletions
diff --git a/944/CH2/EX2.1/example2_1_TACC.sce b/944/CH2/EX2.1/example2_1_TACC.sce new file mode 100755 index 000000000..039c33727 --- /dev/null +++ b/944/CH2/EX2.1/example2_1_TACC.sce @@ -0,0 +1,16 @@ +//example 2.1
+
+clear;
+clc;
+
+//Given:
+m=25;//weight of water vapour [grams]
+w=18;//molecular weight of water vapour [grams/mol]
+T=9.69;//increase in temperature [K]
+Qp=0.45;//heat supplied at constant pressure[KJ]
+
+
+//To find the molar constant pressure specific heat
+n=m/w;//no. of moles of water vapour
+Cp=Qp/(n*T);//specific heat capacity at constant pressure[KJ]
+printf("The specific heat capacity at constant pressure = %f KJ/K/mol",Cp)
\ No newline at end of file diff --git a/944/CH2/EX2.2/example2_2_TACC.sce b/944/CH2/EX2.2/example2_2_TACC.sce new file mode 100755 index 000000000..6a1428d38 --- /dev/null +++ b/944/CH2/EX2.2/example2_2_TACC.sce @@ -0,0 +1,17 @@ +//example 2.2
+
+clear;
+clc;
+
+//Given:
+m=16;//weight of oxygen [grams]
+w=32;//molecular weight of oxygen [grams/mol]
+T=300;//Temperature during compression [K]
+P1=1;//initial pressure of process [atm]
+P2=100;//final pressure of process[atm]
+R=8.314;//Universal gas constant [J/K/mol]
+
+//To find the minimum work of compression
+n=m/w;//no. of moles of oxygen
+W=-n*R*T*log(P1/P2);
+printf("Mininmum work done to compress oxygen = %f J " , W )
\ No newline at end of file |