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/CH5/EX5.10/5_10.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 '1967/CH5/EX5.10/5_10.sce')
-rwxr-xr-x | 1967/CH5/EX5.10/5_10.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/1967/CH5/EX5.10/5_10.sce b/1967/CH5/EX5.10/5_10.sce new file mode 100755 index 000000000..61525c058 --- /dev/null +++ b/1967/CH5/EX5.10/5_10.sce @@ -0,0 +1,17 @@ +clc
+//initialisation of variables
+clear
+c1= 9.3 //cal deg^-1
+c2= 6.3 //cal deg^-1
+n= 2
+dH= -57500 //cal
+V= 3 //cc
+v1= 3.5 //cc
+T1= 25 //C
+p1= 1 //atm
+//CALCULATIONS
+T2= (-dH/(c1+n*c2))+298
+p2= p1*V*T2/(v1*(273+T1))
+//RESULTS
+printf ('Temperature final = %.f K',T2)
+printf ('\n pressure final = %.1f atm',p2)
|