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 /1967/CH3 | |
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 '1967/CH3')
-rwxr-xr-x | 1967/CH3/EX3.1/3_1.sce | 13 | ||||
-rwxr-xr-x | 1967/CH3/EX3.2/3_2.sce | 11 |
2 files changed, 24 insertions, 0 deletions
diff --git a/1967/CH3/EX3.1/3_1.sce b/1967/CH3/EX3.1/3_1.sce new file mode 100755 index 000000000..4d852ed4b --- /dev/null +++ b/1967/CH3/EX3.1/3_1.sce @@ -0,0 +1,13 @@ +clc
+//initialisation of variables
+clear
+p= 1.013*10^6 //dynecm^2
+T= 273.16 //K
+V= 773.4 //cc
+n= 0.0687 //cal
+//CALCCULATIONS
+W= p*V/T
+k= W/n
+//RESULTS
+printf ('Work of expansion = %.2e ergs',W)
+printf ('\n 1 cal = %.2e ergs',k)
diff --git a/1967/CH3/EX3.2/3_2.sce b/1967/CH3/EX3.2/3_2.sce new file mode 100755 index 000000000..515fa6f39 --- /dev/null +++ b/1967/CH3/EX3.2/3_2.sce @@ -0,0 +1,11 @@ +clc
+//initialisation of variables
+clear
+R= 8.314*10^7 //J/mol K
+T= 298.2 //K
+p1= 1 //atm
+p2= 5 //atm
+//CALCULATIONS
+W= R*T*log(p1/p2)
+//RESULTS
+printf ('Work of expansion = %.2e ergs mole^-1 ',W)
|